diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-10-27 21:23:04 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-10-27 21:23:04 +0000 |
commit | a062e10d14f53c3718ae4dbf13be27233d85afcc (patch) | |
tree | c04ad988e99e4285aa0ab6aa2a785c66b96d6027 /thread.h | |
parent | fa89a9aebf1b4fa7904c5313f1e40c0db445379c (diff) | |
download | perl-a062e10d14f53c3718ae4dbf13be27233d85afcc.tar.gz |
Add MUTABLE_AV(), and remove (AV *) casts from headers.
p4raw-id: //depot/perl@34608
Diffstat (limited to 'thread.h')
-rw-r--r-- | thread.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -156,7 +156,7 @@ #define THREAD_RET_CAST(x) ((any_t) x) #define DETACH(t) cthread_detach(t->self) -#define JOIN(t, avp) (*(avp) = (AV *)cthread_join(t->self)) +#define JOIN(t, avp) (*(avp) = MUTABLE_AV(cthread_join(t->self))) #define PERL_SET_CONTEXT(t) cthread_set_data(cthread_self(), t) #define PERL_GET_CONTEXT cthread_data(cthread_self()) |