Home
last modified time | relevance | path

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

/oneTBB/src/tbb/
H A Dsemaphore.h197 class binary_semaphore : no_copy {
218 class binary_semaphore : no_copy {
221 binary_semaphore();
223 ~binary_semaphore();
234 using binary_semaphore = semaphore; variable
238 class binary_semaphore : no_copy {
243 binary_semaphore() { my_sem = 1; } in binary_semaphore() function
245 ~binary_semaphore() {} in ~binary_semaphore()
270 class binary_semaphore : no_copy {
273 binary_semaphore() { in binary_semaphore() function
[all …]
H A Dsemaphore.cpp71 binary_semaphore::binary_semaphore() { in binary_semaphore() function in tbb::detail::r1::binary_semaphore
79 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()
H A Dconcurrent_monitor.h154 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;
H A Drml_thread_monitor.h121 binary_semaphore my_sema;
/oneTBB/test/tbb/
H A Dtest_semaphore.cpp136 Counter<tbb::detail::r1::binary_semaphore> counter; in test_binary_semaphore()