search for: sobj_cv

Displaying 1 result from an estimated 1 matches for "sobj_cv".

2008 Feb 12
1
measuring sleep time in synchronization objects
...pe] = 0; } On running my program along with this script, I could see (because of ustack()) that the program 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 s...