From 573edd37603ddf5d0137224a22fa2ec4915388fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dagfinn=20Ilmari=20Manns=C3=A5ker?= Date: Sun, 19 Jul 2020 18:01:36 +0100 Subject: Remove the final remnants of 5005threads support Only THREAD_RET_TYPE is still used. --- thread.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'thread.h') diff --git a/thread.h b/thread.h index 2603d549f5..e695889bbe 100644 --- a/thread.h +++ b/thread.h @@ -144,11 +144,7 @@ *c = 0; \ } STMT_END -#define THREAD_CREATE(thr, f) (thr->self = cthread_fork(f, thr), 0) -#define THREAD_POST_CREATE(thr) NOOP - #define THREAD_RET_TYPE any_t -#define THREAD_RET_CAST(x) ((any_t) x) #define DETACH(t) cthread_detach(t->self) #define JOIN(t, avp) (*(avp) = MUTABLE_AV(cthread_join(t->self))) @@ -363,7 +359,6 @@ #ifndef THREAD_RET_TYPE # define THREAD_RET_TYPE void * -# define THREAD_RET_CAST(p) ((void *)(p)) #endif /* THREAD_RET */ # define LOCK_DOLLARZERO_MUTEX MUTEX_LOCK(&PL_dollarzero_mutex) -- cgit v1.2.1