diff options
Diffstat (limited to 'common/threads.h')
-rw-r--r-- | common/threads.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/common/threads.h b/common/threads.h index 9a6fe1f7..b0bebd8d 100644 --- a/common/threads.h +++ b/common/threads.h @@ -65,6 +65,9 @@ typedef LONG alonce_flag; int althrd_sleep(const struct timespec *ts, struct timespec *rem); void alcall_once(alonce_flag *once, void (*callback)(void)); +void althrd_deinit(void); +void althrd_thread_detach(void); + inline althrd_t althrd_current(void) { @@ -216,6 +219,10 @@ inline void alcall_once(alonce_flag *once, void (*callback)(void)) pthread_once(once, callback); } + +inline void althrd_deinit(void) { } +inline void althrd_thread_detach(void) { } + #endif |