Searched refs:num_waiters (Results 1 – 5 of 5) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/futex/ |
D | futex_cmp_requeue01.c | 32 int num_waiters; member 90 int pid[tc->num_waiters]; in verify_futex_cmp_requeue() 95 for (i = 0; i < tc->num_waiters; i++) { in verify_futex_cmp_requeue() 101 for (i = 0; i < tc->num_waiters; i++) in verify_futex_cmp_requeue() 105 n, tc->num_waiters, tc->set_wakes, tc->set_requeues); in verify_futex_cmp_requeue() 130 num_requeues = futex_wake(tv->fntype, &sd->futexes[1], tc->num_waiters, 0); in verify_futex_cmp_requeue() 131 num_waits = futex_wake(tv->fntype, &sd->futexes[0], tc->num_waiters, 0); in verify_futex_cmp_requeue() 134 for (i = 0; i < tc->num_waiters; i++) { in verify_futex_cmp_requeue() 146 if (num_total != tc->num_waiters) { in verify_futex_cmp_requeue() 148 tc->num_waiters - num_total); in verify_futex_cmp_requeue()
|
/third_party/abseil-cpp/absl/synchronization/ |
D | mutex_benchmark.cc | 172 int num_waiters = state.range(1); in BM_ConditionWaiters() local 185 num_classes = num_waiters; in BM_ConditionWaiters() 188 absl::BlockingCounter init(num_waiters); in BM_ConditionWaiters() 193 absl::synchronization_internal::ThreadPool pool(num_waiters); in BM_ConditionWaiters() 195 for (int i = 0; i < num_waiters; i++) { in BM_ConditionWaiters()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/ |
D | mutex_benchmark.cc | 258 int num_waiters = state.range(1); in BM_ConditionWaiters() local 271 num_classes = num_waiters; in BM_ConditionWaiters() 274 absl::BlockingCounter init(num_waiters); in BM_ConditionWaiters() 279 absl::synchronization_internal::ThreadPool pool(num_waiters); in BM_ConditionWaiters() 281 for (int i = 0; i < num_waiters; i++) { in BM_ConditionWaiters()
|
/third_party/flutter/engine/flutter/fml/synchronization/ |
D | waitable_event_unittest.cc | 153 for (size_t num_waiters = 1u; num_waiters < 5u; num_waiters++) { in TEST() local 155 for (size_t j = 0u; j < num_waiters; j++) { in TEST()
|
/third_party/python/Lib/multiprocessing/ |
D | synchronize.py | 241 num_waiters = (self._sleeping_count._semlock._get_value() - 244 num_waiters = 'unknown' 245 return '<%s(%s, %s)>' % (self.__class__.__name__, self._lock, num_waiters)
|