Wait the specified time for the thread to finish. Returns false if the thread didn't terminate
| 107 | // Wait the specified time for the thread to finish. |
| 108 | // Returns false if the thread didn't terminate |
| 109 | bool 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 | |
| 119 | void ThreadSleepMs( u32 ms ) |
| 120 | { |
nothing calls this directly
no test coverage detected