Searched refs:CV_MAX_WAITERS (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dcondvar.c47 * CV_MAX_WAITERS is the maximum number of waiters we track; once
51 #define CV_MAX_WAITERS 1024 /* must be power of 2 */ macro
52 #define CV_WAITERS_MASK (CV_MAX_WAITERS - 1)
80 if (cvp->cv_waiters != CV_MAX_WAITERS)
170 if (cvp->cv_waiters < CV_MAX_WAITERS)
172 ASSERT(cvp->cv_waiters <= CV_MAX_WAITERS);
609 ASSERT(cp->cv_waiters <= CV_MAX_WAITERS);
620 * CV_MAX_WAITERS) there should be a thread
637 ASSERT(cp->cv_waiters <= CV_MAX_WAITERS);

Completed in 753 milliseconds