Displaying 1 result from an estimated 1 matches for "sobj_rwlock".
2008 Feb 12
1
measuring sleep time in synchronization objects
...esult of sem_wait()
calls, because the description of pr_stype field in struct lwpsinfo_t says
that (and I quote from chapter 25 of the DTrace guide):
The pr_stype field is set when the thread is sleeping on a synchronization
object.
The possible values for the pr_stype field are:
SOBJ_MUTEX
SOBJ_RWLOCK
...
SOBJ_USER : A user-level synchronization object. All blocking on user-level
synchronization objects is handled with SOBJ_USER synchronization
objects. User-level synchronization objects include those created with
mutex_init(3), sema_init(3C), rwlock_init(3C),
cond_init(3C) and their POSIX...