diff options
author | Chris Robinson <[email protected]> | 2014-04-16 06:59:44 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-04-16 06:59:44 -0700 |
commit | b020dd13fda12ffa275f6c8165dcad481f9658d6 (patch) | |
tree | 8d9ab0e331765c305f62ab4cf609261913333b64 /Alc/threads.c | |
parent | 184cf30cf70d0efcba8cfb7c27f464dbc4a3edaf (diff) |
Avoid using a Sleep() wrapper
Diffstat (limited to 'Alc/threads.c')
-rw-r--r-- | Alc/threads.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/threads.c b/Alc/threads.c index 10109630..2dd85414 100644 --- a/Alc/threads.c +++ b/Alc/threads.c @@ -37,6 +37,8 @@ extern inline int almtx_lock(almtx_t *mtx); extern inline int almtx_unlock(almtx_t *mtx); extern inline int almtx_trylock(almtx_t *mtx); +extern inline void al_nssleep(time_t sec, long nsec); + #define THREAD_STACK_SIZE (1*1024*1024) /* 1MB */ |