Synchronization Primitives Dcmds
-
rwlock
::rwlock
-
Given the address of a readers-writers lock (see
rwlock
(9F)), display the current state of the lock and the list of waiting threads. -
address
::sobj2ts
-
Convert the address of a synchronization object to the address of the corresponding turnstile and print the turnstile address.
-
[ address ]
::turnstile
-
Display the properties of the specified
turnstile_t
. If noturnstile_t
address is specified, the dcmd displays the properties of all turnstiles. -
[ address ]
::wchaninfo
[-v
] -
Given the address of a condition variable (see
condvar
(9F)) or semaphore (seesemaphore
(9F)), display the current number of waiters on this object. If no explicit address is specified, display all such objects that have waiting threads. If the-v
option is specified, display the list of threads that are blocked on each object.