Use an interruptible sleep to allow our threads to exit sooner

This commit is contained in:
Cameron Gutman committed 2019-04-06 15:26:59 -07:00
1 parent 9220fcb8e8
commit d6971983aa
5 files changed
+20 -7

No files matched your search

+2 -1
View File
@@ -62,4 +62,5 @@ void PltRunThreadProc(void);
#define PLT_WAIT_SUCCESS 0
#define PLT_WAIT_INTERRUPTED 1
void PltSleepMs(int ms);
void PltSleepMs(int ms);
void PltSleepMsInterruptible(PLT_THREAD* thread, int ms);