Home
last modified time | relevance | path

Searched refs:num_waiters (Results 1 – 12 of 12) sorted by relevance

/external/ltp/testcases/kernel/syscalls/futex/
Dfutex_cmp_requeue01.c32 int num_waiters; member
78 int pid[tc->num_waiters]; in verify_futex_cmp_requeue()
83 for (i = 0; i < tc->num_waiters; i++) { in verify_futex_cmp_requeue()
89 for (i = 0; i < tc->num_waiters; i++) in verify_futex_cmp_requeue()
93 n, tc->num_waiters, tc->set_wakes, tc->set_requeues); in verify_futex_cmp_requeue()
118 num_requeues = futex_wake(&sd->futexes[1], tc->num_waiters, 0); in verify_futex_cmp_requeue()
119 num_waits = futex_wake(&sd->futexes[0], tc->num_waiters, 0); in verify_futex_cmp_requeue()
122 for (i = 0; i < tc->num_waiters; i++) { in verify_futex_cmp_requeue()
134 if (num_total != tc->num_waiters) { in verify_futex_cmp_requeue()
136 tc->num_waiters - num_total); in verify_futex_cmp_requeue()
/external/llvm-project/libcxxabi/test/
Dguard_threaded_test.pass.cpp190 void test_free_for_all(int num_waiters) { in test_free_for_all() argument
196 threads.CreateThreadsWithBarrier(num_waiters, in test_free_for_all()
207 assert(test_obj.get_count(COMPLETE) + test_obj.get_count(WAITED) == num_waiters - 1); in test_free_for_all()
211 void test_waiting_for_init(int num_waiters) { in test_waiting_for_init() argument
231 threads.CreateThreadsWithBarrier(num_waiters, in test_waiting_for_init()
242 assert(test_obj.get_count(COMPLETE) + test_obj.get_count(WAITED) == num_waiters); in test_waiting_for_init()
247 void test_aborted_init(int num_waiters) { in test_aborted_init() argument
262 threads.CreateThreadsWithBarrier(num_waiters, in test_aborted_init()
276 assert(test_obj.get_count(WAITED) + test_obj.get_count(COMPLETE) == num_waiters - 1); in test_aborted_init()
281 void test_completed_init(int num_waiters) { in test_completed_init() argument
[all …]
/external/webrtc/third_party/abseil-cpp/absl/synchronization/
Dmutex_benchmark.cc171 int num_waiters = state.range(1); in BM_ConditionWaiters() local
184 num_classes = num_waiters; in BM_ConditionWaiters()
187 absl::BlockingCounter init(num_waiters); in BM_ConditionWaiters()
192 absl::synchronization_internal::ThreadPool pool(num_waiters); in BM_ConditionWaiters()
194 for (int i = 0; i < num_waiters; i++) { in BM_ConditionWaiters()
/external/abseil-cpp/absl/synchronization/
Dmutex_benchmark.cc171 int num_waiters = state.range(1); in BM_ConditionWaiters() local
184 num_classes = num_waiters; in BM_ConditionWaiters()
187 absl::BlockingCounter init(num_waiters); in BM_ConditionWaiters()
192 absl::synchronization_internal::ThreadPool pool(num_waiters); in BM_ConditionWaiters()
194 for (int i = 0; i < num_waiters; i++) { in BM_ConditionWaiters()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/
Dmutex_benchmark.cc172 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()
/external/openscreen/third_party/abseil/src/absl/synchronization/
Dmutex_benchmark.cc172 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()
/external/libtextclassifier/abseil-cpp/absl/synchronization/
Dmutex_benchmark.cc172 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()
/external/squashfs-tools/kernel/fs/squashfs/
Dcache.c85 cache->num_waiters++; in squashfs_cache_get()
89 cache->num_waiters--; in squashfs_cache_get()
116 entry->num_waiters = 0; in squashfs_cache_get()
136 if (entry->num_waiters) { in squashfs_cache_get()
161 entry->num_waiters++; in squashfs_cache_get()
196 if (cache->num_waiters) { in squashfs_cache_put()
256 cache->num_waiters = 0; in squashfs_cache_init()
Dsquashfs_fs_sb.h32 int num_waiters; member
48 int num_waiters; member
/external/angle/third_party/abseil-cpp/absl/synchronization/
Dmutex_benchmark.cc258 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()
/external/python/cpython2/Lib/multiprocessing/
Dsynchronize.py226 num_waiters = (self._sleeping_count._semlock._get_value() -
229 num_waiters = 'unknown'
230 return '<Condition(%s, %s)>' % (self._lock, num_waiters)
/external/python/cpython3/Lib/multiprocessing/
Dsynchronize.py241 num_waiters = (self._sleeping_count._semlock._get_value() -
244 num_waiters = 'unknown'
245 return '<%s(%s, %s)>' % (self.__class__.__name__, self._lock, num_waiters)