Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cameron314/concurrentqueue
/ ~binary_semaphore
Method
~binary_semaphore
benchmarks/tbb/semaphore.cpp:82–85 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
80
}
81
82
binary_semaphore::~binary_semaphore() {
83
if( (uintptr_t)__TBB_init_binsem==(uintptr_t)&init_binsem_using_event )
84
CloseHandle( my_sem.h );
85
}
86
87
void binary_semaphore::P() { __TBB_acquire_binsem( &my_sem.lock ); }
88
Callers
1
~thread_context
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected