MCPcopy Create free account
hub / github.com/OpenKinect/libfreenect2 / join

Method join

src/tinythread/tinythread.cpp:216–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214}
215
216void thread::join()
217{
218 if(joinable())
219 {
220#if defined(_TTHREAD_WIN32_)
221 WaitForSingleObject(mHandle, INFINITE);
222 CloseHandle(mHandle);
223#elif defined(_TTHREAD_POSIX_)
224 pthread_join(mHandle, NULL);
225#endif
226 }
227}
228
229bool thread::joinable() const
230{

Callers 4

stopMethod · 0.80
stopMethod · 0.80
stopMethod · 0.80
~AsyncPacketProcessorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected