Fix implementation of threads->_handle on unixes.
Jerry D. Hedden [Tue, 4 Apr 2006 09:25:20 +0000 (02:25 -0700)]
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 */