diff options
author | Chris Robinson <[email protected]> | 2018-11-26 21:19:20 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-26 21:39:31 -0800 |
commit | b108d0acfd062756da69074242e24ea7b2856b8a (patch) | |
tree | 40a573fbefeb77310f375ace284bc847b4014973 /common/threads.h | |
parent | 7860a11ae2723d744eb35eae9bbbc6f9a55e9caa (diff) |
Remove the last remaining uses of althrd_t
Diffstat (limited to 'common/threads.h')
-rw-r--r-- | common/threads.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/common/threads.h b/common/threads.h index a5f6ce45..53b56147 100644 --- a/common/threads.h +++ b/common/threads.h @@ -70,7 +70,6 @@ inline int almtx_unlock(almtx_t *mtx) #include <semaphore.h> #endif /* __APPLE__ */ -typedef pthread_t althrd_t; typedef pthread_mutex_t almtx_t; #ifdef __APPLE__ typedef dispatch_semaphore_t alsem_t; @@ -78,8 +77,6 @@ typedef dispatch_semaphore_t alsem_t; typedef sem_t alsem_t; #endif /* __APPLE__ */ -typedef int (*althrd_start_t)(void*); - inline void althrd_yield(void) { @@ -101,10 +98,6 @@ inline int almtx_unlock(almtx_t *mtx) return althrd_success; } -int althrd_create(althrd_t *thr, althrd_start_t func, void *arg); -int althrd_detach(althrd_t thr); -int althrd_join(althrd_t thr, int *res); - #endif void althrd_setname(const char *name); |