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

Method join

tests/common/simplethread.cpp:35–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35void SimpleThread::join()
36{
37 if (thread != nullptr && thread->handle != NULL) {
38 WaitForSingleObject(thread->handle, INFINITE);
39 CloseHandle(thread->handle);
40 thread->handle = NULL;
41 }
42}
43#else
44#include <thread>
45

Callers 15

run_testFunction · 0.45
multi_producersMethod · 0.45
producer_reuseMethod · 0.45
block_recyclingMethod · 0.45
try_dequeue_threadedMethod · 0.45
exceptionsMethod · 0.45
test_threadedMethod · 0.45
test_threaded_bulkMethod · 0.45
blocking_wrappersMethod · 0.45

Calls

no outgoing calls

Tested by 15

run_testFunction · 0.36
multi_producersMethod · 0.36
producer_reuseMethod · 0.36
block_recyclingMethod · 0.36
try_dequeue_threadedMethod · 0.36
exceptionsMethod · 0.36
test_threadedMethod · 0.36
test_threaded_bulkMethod · 0.36
blocking_wrappersMethod · 0.36