MCPcopy Create free account
hub / github.com/LouisBrunner/valgrind-macos / Create

Method Create

drd/tests/annotate_smart_pointer.cpp:81–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79 Thread() : m_thread(INVALID_HANDLE_VALUE) { }
80 ~Thread() { }
81 void Create(void* (*pf)(void*), void* arg)
82 {
83 WrapperArgs* wrapper_arg_p = new WrapperArgs(pf, arg);
84 m_thread = reinterpret_cast<HANDLE>(_beginthreadex(NULL, 0, wrapper,
85 wrapper_arg_p, 0, NULL));
86 }
87 void Join()
88 { WaitForSingleObject(m_thread, INFINITE); }
89

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected