Home
last modified time | relevance | path

Searched refs:NUM_WORKERS (Results 1 – 5 of 5) sorted by relevance

/third_party/ltp/testcases/realtime/func/prio-preempt/
Dprio-preempt.c72 #define NUM_WORKERS 27 macro
82 static pthread_mutex_t mutex[NUM_WORKERS + 1];
83 static pthread_cond_t cond[NUM_WORKERS + 1];
84 static int t_after_wait[NUM_WORKERS];
189 if (tid == NUM_WORKERS - 1) { in worker_thread()
262 for (i = 0, pri_boost = 10; i < NUM_WORKERS; i++, pri_boost += 2) { in master_thread()
272 while (threads_running < NUM_WORKERS) in master_thread()
318 printf("Worker Threads: %d\n\n", NUM_WORKERS); in main()
/third_party/node/test/parallel/
Dtest-cluster-dgram-1.js27 const NUM_WORKERS = 4; constant
44 for (let i = 0; i < NUM_WORKERS; i++)
49 if (++listening < NUM_WORKERS)
64 if (sent < NUM_WORKERS * PACKETS_PER_WORKER) {
70 }, NUM_WORKERS));
Dtest-cluster-dgram-bind-fd.js7 const NUM_WORKERS = 4; constant
35 for (let i = 0; i < NUM_WORKERS; i++)
40 if (++listening < NUM_WORKERS)
55 if (sent < NUM_WORKERS * PACKETS_PER_WORKER) {
61 }, NUM_WORKERS));
Dtest-cluster-dgram-2.js27 const NUM_WORKERS = 4; constant
48 for (let i = 0; i < NUM_WORKERS; i++) {
59 if (received === PACKETS_PER_WORKER * NUM_WORKERS) {
67 }, NUM_WORKERS * PACKETS_PER_WORKER));
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-random/
Druntests.py109 NUM_WORKERS = 2 variable
171 for n in range(NUM_WORKERS):