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

Method init

benchmarks/tbb/concurrent_monitor.cpp:26–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24namespace internal {
25
26void concurrent_monitor::thread_context::init() {
27 new (sema.begin()) binary_semaphore;
28 ready = true;
29}
30
31concurrent_monitor::~concurrent_monitor() {
32 abort_all();

Callers 1

prepare_waitMethod · 0.45

Calls 1

beginMethod · 0.45

Tested by

no test coverage detected