summaryrefslogtreecommitdiff
path: root/thread.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-10-27 21:23:04 +0000
committerNicholas Clark <nick@ccl4.org>2008-10-27 21:23:04 +0000
commita062e10d14f53c3718ae4dbf13be27233d85afcc (patch)
treec04ad988e99e4285aa0ab6aa2a785c66b96d6027 /thread.h
parentfa89a9aebf1b4fa7904c5313f1e40c0db445379c (diff)
downloadperl-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread.h b/thread.h
index 655e827fae..7718d4befd 100644
--- a/thread.h
+++ b/thread.h
@@ -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())