Displaying 1 result from an estimated 1 matches for "sobj_shuttle".
2008 Feb 12
1
measuring sleep time in synchronization objects
...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 equivalents.
...
SOBJ_SHUTTLE
I was not surprised that the threads are sleeping on other synchronization
objects as well, but no account of SOBJ_USER was a little surprising.
Although I can see from ustack() that sem_wait() ultimately leads to
cv_block:sleep, was I wrong in expecting to see pr_stype = SOBJ_USER in the
outp...