diff options
author | Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> | 2020-07-19 18:01:36 +0100 |
---|---|---|
committer | Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> | 2020-07-20 21:31:43 +0100 |
commit | 573edd37603ddf5d0137224a22fa2ec4915388fe (patch) | |
tree | 477767c43d1dde6717f610a41a674b56d5c2a0b8 /thread.h | |
parent | ae955d3a183337a4770d39640a21da146cf97bc7 (diff) | |
download | perl-573edd37603ddf5d0137224a22fa2ec4915388fe.tar.gz |
Remove the final remnants of 5005threads support
Only THREAD_RET_TYPE is still used.
Diffstat (limited to 'thread.h')
-rw-r--r-- | thread.h | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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) |