This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix implementation of threads->_handle on unixes.
authorJerry D. Hedden <jdhedden@cpan.org>
Tue, 4 Apr 2006 09:25:20 +0000 (02:25 -0700)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Fri, 14 Apr 2006 08:42:27 +0000 (08:42 +0000)
See :
Subject: RE: [PATCH] 2nd patch to sync blead 'threads' with CPAN [REPOST]
From: "Jerry D. Hedden" <jerry@hedden.us>
Message-ID: <20060404092520.fb30e530d17747c2b054d625b8945d88.4a8a6b16c9.wbe@email.email.secureserver.net>

p4raw-id: //depot/perl@27796

ext/threads/threads.xs

index 3f4716d..61ade04 100755 (executable)
@@ -891,7 +891,7 @@ ithread__handle(...);
 #ifdef WIN32
         XST_mUV(0, PTR2UV(thread->handle));
 #else
-        XST_mUV(0, PTR2UV(thread->thr));
+        XST_mUV(0, PTR2UV(&thread->thr));
 #endif
         /* XSRETURN(1); - implied */