From 46930d8f1568c61dcd2ab37f6a2924dc79596ffc Mon Sep 17 00:00:00 2001 From: Malcolm Beattie Date: Wed, 29 Oct 1997 14:39:54 +0000 Subject: Remove global macro "self". Change thr->Tself to thr->self. p4raw-id: //depot/perl@190 --- ext/Thread/Thread.xs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ext') diff --git a/ext/Thread/Thread.xs b/ext/Thread/Thread.xs index 24a11df67c..7d309b6a2e 100644 --- a/ext/Thread/Thread.xs +++ b/ext/Thread/Thread.xs @@ -256,7 +256,8 @@ char *class; sigfillset(&fullmask); if (sigprocmask(SIG_SETMASK, &fullmask, &oldmask) == -1) croak("panic: sigprocmask"); - err = pthread_create(&self, pthread_attr_default, threadstart, (void*) thr); + err = pthread_create(&thr->self, pthread_attr_default, + threadstart, (void*) thr); /* Go */ MUTEX_UNLOCK(&thr->mutex); #endif -- cgit v1.2.1