Lines Matching defs:done
70 unsigned int *done = (unsigned int *)arg;
72 while (!__atomic_load_n(done, __ATOMIC_RELAXED))
73 futex_wait(done, 0, NULL, 0);
79 unsigned int *done = (unsigned int *)arg;
81 while (!__atomic_load_n(done, __ATOMIC_RELAXED));
87 unsigned int i, done;
96 done = 0;
98 if (pthread_create(&threads[i], NULL, passive_thread, &done))
101 __atomic_store_n(&done, 1, __ATOMIC_RELAXED);
102 futex_wake(&done, thread_params.nthreads, 0);
200 unsigned int i, nthreads, result_usec, done = 0;
226 i < enable_params.npassive ? passive_thread : active_thread, &done))
239 __atomic_store_n(&done, 1, __ATOMIC_RELAXED);
240 futex_wake(&done, enable_params.npassive, 0);