diff options
author | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1997-10-29 14:39:54 +0000 |
---|---|---|
committer | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1997-10-29 14:39:54 +0000 |
commit | 46930d8f1568c61dcd2ab37f6a2924dc79596ffc (patch) | |
tree | 67e8f7c0f338abbf9de51ffbb7fb9b3377619934 /ext | |
parent | 25f62d1c923a0e842a23489d92db1990acf9c23b (diff) | |
download | perl-46930d8f1568c61dcd2ab37f6a2924dc79596ffc.tar.gz |
Remove global macro "self". Change thr->Tself to thr->self.
p4raw-id: //depot/perl@190
Diffstat (limited to 'ext')
-rw-r--r-- | ext/Thread/Thread.xs | 3 |
1 files changed, 2 insertions, 1 deletions
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 |