Searched refs:THREAD_MAX (Results 1 – 3 of 3) sorted by relevance
37 #define THREAD_MAX 10 macro158 while (waiters_blocked.val < THREAD_MAX) in broadcast_wakerfn()176 if (task_count < THREAD_MAX - waiters_woken.val) in broadcast_wakerfn()180 0, MAX_WAKE_ITERS, task_count, THREAD_MAX); in broadcast_wakerfn()206 while (waiters_blocked.val < THREAD_MAX) in signal_wakerfn()210 while (task_count < THREAD_MAX && waiters_woken.val < THREAD_MAX) { in signal_wakerfn()243 if (i > MAX_WAKE_ITERS + THREAD_MAX) { in signal_wakerfn()245 0, MAX_WAKE_ITERS + THREAD_MAX); in signal_wakerfn()287 pthread_t waiter[THREAD_MAX], waker, blocker; in unit_test()289 struct thread_arg args[THREAD_MAX]; in unit_test()[all …]
15 THREAD_MAX = 15 variable74 for i in range(THREAD_MAX):
186 def get_ap_batch(self, batch_size=ap_cartridge.THREAD_MAX):