MCPcopy Create free account
hub / github.com/cameron314/readerwriterqueue / startThread

Method startThread

tests/common/simplethread.cpp:27–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25};
26
27void SimpleThread::startThread(void* callbackObj, CallbackFunc callbackFunc)
28{
29 thread = new ThreadRef(callbackObj, callbackFunc);
30 thread->handle = CreateThread(NULL, StackSize, &ThreadRef::ThreadProc, thread, 0, NULL);
31}
32
33void SimpleThread::join()
34{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected