aboutsummaryrefslogtreecommitdiffstats
path: root/common/threads.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-02-01 22:24:17 -0800
committerChris Robinson <[email protected]>2018-02-01 22:24:17 -0800
commita114d6cbb56470db87c2b0bd7c76ce26bdaeb63c (patch)
tree743679fd83e38abdcb9d08f91e026f169b789099 /common/threads.h
parent3acd2a55addecf646475bbf45aed03927c7d84e6 (diff)
Remove unused _timed methods
They're not reliably implemented anyway, as some systems will just flat out fail when trying to use them.
Diffstat (limited to 'common/threads.h')
-rw-r--r--common/threads.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/common/threads.h b/common/threads.h
index a8096546..ffd7fac5 100644
--- a/common/threads.h
+++ b/common/threads.h
@@ -28,7 +28,6 @@ enum {
enum {
almtx_plain = 0,
almtx_recursive = 1,
- almtx_timed = 2
};
typedef int (*althrd_start_t)(void*);
@@ -227,20 +226,17 @@ void althrd_setname(althrd_t thr, const char *name);
int almtx_init(almtx_t *mtx, int type);
void almtx_destroy(almtx_t *mtx);
-int almtx_timedlock(almtx_t *mtx, const struct timespec *ts);
int alcnd_init(alcnd_t *cond);
int alcnd_signal(alcnd_t *cond);
int alcnd_broadcast(alcnd_t *cond);
int alcnd_wait(alcnd_t *cond, almtx_t *mtx);
-int alcnd_timedwait(alcnd_t *cond, almtx_t *mtx, const struct timespec *time_point);
void alcnd_destroy(alcnd_t *cond);
int alsem_init(alsem_t *sem, unsigned int initial);
void alsem_destroy(alsem_t *sem);
int alsem_post(alsem_t *sem);
int alsem_wait(alsem_t *sem);
-int alsem_timedwait(alsem_t *sem, const struct timespec *time_point);
int altss_create(altss_t *tss_id, altss_dtor_t callback);
void altss_delete(altss_t tss_id);