From: Jerry D. Hedden Date: Tue, 4 Apr 2006 09:25:20 +0000 (-0700) Subject: Fix implementation of threads->_handle on unixes. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=75ba4ae21f5a245bd2ee07fcd76f8adeaf11f45d;p=p5sagit%2Fp5-mst-13.2.git Fix implementation of threads->_handle on unixes. See : Subject: RE: [PATCH] 2nd patch to sync blead 'threads' with CPAN [REPOST] From: "Jerry D. Hedden" Message-ID: <20060404092520.fb30e530d17747c2b054d625b8945d88.4a8a6b16c9.wbe@email.email.secureserver.net> p4raw-id: //depot/perl@27796 --- diff --git a/ext/threads/threads.xs b/ext/threads/threads.xs index 3f4716d..61ade04 100755 --- a/ext/threads/threads.xs +++ b/ext/threads/threads.xs @@ -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 */