Searched refs:binary_semaphore (Results 1 – 5 of 5) sorted by relevance
197 class binary_semaphore : no_copy {218 class binary_semaphore : no_copy {221 binary_semaphore();223 ~binary_semaphore();234 using binary_semaphore = semaphore; variable238 class binary_semaphore : no_copy {243 binary_semaphore() { my_sem = 1; } in binary_semaphore() function245 ~binary_semaphore() {} in ~binary_semaphore()270 class binary_semaphore : no_copy {273 binary_semaphore() { in binary_semaphore() function[all …]
71 binary_semaphore::binary_semaphore() { in binary_semaphore() function in tbb::detail::r1::binary_semaphore79 binary_semaphore::~binary_semaphore() { in ~binary_semaphore()84 void binary_semaphore::P() { __TBB_acquire_binsem( &my_sem.lock ); } in P()86 void binary_semaphore::V() { __TBB_release_binsem( &my_sem.lock ); } in V()
154 semaphore().~binary_semaphore(); in ~sleep_node()158 binary_semaphore& semaphore() { return *sema.begin(); } in semaphore()162 new (sema.begin()) binary_semaphore; in init()186 tbb::detail::aligned_space<binary_semaphore> sema;
121 binary_semaphore my_sema;
136 Counter<tbb::detail::r1::binary_semaphore> counter; in test_binary_semaphore()