Home
last modified time | relevance | path

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

/oneTBB/test/tbb/
H A Dtest_semaphore.cpp81 void test_semaphore( int sem_init_cnt, int extra_threads ) { in test_semaphore() argument
82 semaphore my_sem(sem_init_cnt); in test_semaphore()
83 int n_threads = sem_init_cnt + extra_threads; in test_semaphore()
99 REQUIRE_MESSAGE(max_count <= sem_init_cnt, "Too many threads in semaphore-protected increment"); in test_semaphore()