Home
last modified time | relevance | path

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

/src/lib/libthr/tests/
H A Dumtx_op_test.c42 #define THREAD_COUNT ((UMTX_OP_BATCH_SIZE * 3) / 2) macro
68 uintptr_t addrs[THREAD_COUNT]; in ATF_TC_BODY()
69 uint32_t vals[THREAD_COUNT]; in ATF_TC_BODY()
70 pthread_t threads[THREAD_COUNT]; in ATF_TC_BODY()
72 for (int i = 0; i < THREAD_COUNT; i++) { in ATF_TC_BODY()
80 while (batched_waiting != THREAD_COUNT) { in ATF_TC_BODY()
93 _umtx_op(addrs, UMTX_OP_NWAKE_PRIVATE, THREAD_COUNT, NULL, NULL); in ATF_TC_BODY()
95 for (int i = 0; i < THREAD_COUNT; i++) { in ATF_TC_BODY()