Searched refs:nwaiters (Results 1 – 2 of 2) sorted by relevance
85 u_int32_t nwaiters; member160 sem->nwaiters = 0; in sem_alloc()205 else if ((*sem)->nwaiters > 0) { in _libc_sem_destroy_compat()358 atomic_add_int(&(*sem)->nwaiters, -1); in sem_cancel_handler()359 if ((*sem)->nwaiters && (*sem)->count) in sem_cancel_handler()396 atomic_add_int(&(*sem)->nwaiters, 1); in _libc_sem_timedwait_compat()402 atomic_add_int(&(*sem)->nwaiters, -1); in _libc_sem_timedwait_compat()444 if ((*sem)->nwaiters) in _libc_sem_post_compat()
114 kmp_flag(int nwaiters)115 : t({FlagType, 0U}), num_waiting_threads(nwaiters), sleepLoc(nullptr) {}