MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / acquire_binsem_using_event

Function acquire_binsem_using_event

benchmarks/tbb/semaphore.cpp:41–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41void WINAPI acquire_binsem_using_event( SRWLOCK* h_ )
42{
43 srwl_or_handle* shptr = (srwl_or_handle*) h_;
44 WaitForSingleObjectEx( shptr->h, INFINITE, FALSE );
45}
46
47void WINAPI release_binsem_using_event( SRWLOCK* h_ )
48{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected