Searched refs:common_sema (Results 1 - 1 of 1) sorted by relevance

/xnu-2782.1.97/tools/tests/xnu_quick_test/
H A Dsched_tests.c63 semaphore_t common_sema; /* main thing everyone blocks on */ member in struct:t1_ctx
99 kret = semaphore_wait(ctx->common_sema);
101 warnx("semaphore_wait(common_sema) thread %d failed %d",
109 kret = semaphore_signal(ctx->common_sema);
111 warnx("semaphore_signal(common_sema) thread %d failed %d",
126 semaphore_t common_sema; local
137 kret = semaphore_create(mach_task_self(), &common_sema, SYNC_POLICY_FIFO /* not really, in this case */, 0);
162 ctxs[i].common_sema = common_sema;
199 kret = semaphore_signal(common_sema);
[all...]

Completed in 23 milliseconds