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