Displaying 1 result from an estimated 1 matches for "sobj_us".
Did you mean:
sobj_user
2008 Feb 12
1
measuring sleep time in synchronization objects
...is following the expected path to sem_wait() call
and then enters cv_block:sleep. The aggregation output showed that the
threads in my program are sleeping on pr_stype = 3 (translates to SOBJ_CV
according to the file sobject.h). However, I was expecting to see the
threads sleeping on pr_stype = 5 (SOBJ_USER) as a result 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:
SO...