Use an interruptible sleep to allow our threads to exit sooner
This commit is contained in:
parent
9220fcb8e8
commit
d6971983aa
5 changed files with 20 additions and 7 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue