Searched refs:wait_count (Results 1 – 4 of 4) sorted by relevance
31 ctx(ctx), __status(0), wait_count(1), in _cl_event()42 if (!--wait_count) { in trigger()65 return !wait_count; in signalled()70 if (wait_count) { in chain()71 ev->wait_count++; in chain()
78 unsigned wait_count; member
32 volatile unsigned wait_count; member60 b->wait_count = 0; in barrier_init()79 if (__sync_add_and_fetch(&b->wait_count, 1) == b->thread_count) in barrier_wait()81 __sync_sub_and_fetch(&b->wait_count, b->thread_count); in barrier_wait()
121 unsigned int wait_count; member