Use an interruptible sleep to allow our threads to exit sooner

This commit is contained in:
Cameron Gutman 2019-04-06 15:26:59 -07:00
commit d6971983aa
5 changed files with 20 additions and 7 deletions

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);