MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / join

Method join

src/base/thread.cpp:63–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63void base::thread::join()
64{
65 if (joinable()) {
66#ifdef _WIN32
67 ::WaitForSingleObject(m_native_handle, INFINITE);
68#else
69 ::pthread_join((pthread_t)m_native_handle, NULL);
70#endif
71 m_native_handle = (native_handle_type)0;
72 }
73}
74
75void base::thread::detach()
76{

Callers 12

addImportFunction · 0.80
mainFunction · 0.80
STLFunction · 0.80
~SDL2SystemMethod · 0.80
~thread_guardMethod · 0.80
TESTFunction · 0.80
~WorkerMethod · 0.80
~TaskManagerMethod · 0.80
waitJobMethod · 0.80
TESTFunction · 0.80
~BackupObserverMethod · 0.80
runMethod · 0.80

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.64
TESTFunction · 0.64