MCPcopy Create free account
hub / github.com/DaedalusX64/daedalus / JoinThread

Function JoinThread

Source/SysPosix/Utility/ThreadPosix.cpp:109–117  ·  view source on GitHub ↗

Wait the specified time for the thread to finish. Returns false if the thread didn't terminate

Source from the content-addressed store, hash-verified

107// Wait the specified time for the thread to finish.
108// Returns false if the thread didn't terminate
109bool JoinThread( ThreadHandle handle, s32 timeout )
110{
111 //u32 delay( timeout > 0 ? timeout : INFINITE );
112 bool signalled( true );
113
114 pthread_join( HandleToPthread( handle ), NULL );
115
116 return signalled;
117}
118
119void ThreadSleepMs( u32 ms )
120{

Callers

nothing calls this directly

Calls 1

HandleToPthreadFunction · 0.85

Tested by

no test coverage detected