better pod for threads::_handle
authorDaniel Dragan <bulk88@hotmail.com>
Thu, 26 Sep 2013 08:39:55 +0000 (04:39 -0400)
committerJames E Keenan <jkeenan@cpan.org>
Fri, 27 Sep 2013 23:13:05 +0000 (01:13 +0200)
commit9270a63125f4fc3e15263d9e3c2a84c327aebb87
treee3f397bf12fa49510ba54128fac416c7ea7f5775
parent4da0549cabdc083ce465e29f25eba4ccd78c21fd
better pod for threads::_handle

First time I tried to get the OS handle I wrote

unpack('P[Q || L /*PICK ONE*/]', $thread->_handle())

it crashed because _handle returns a number, not a packed string. unpack
wants a packed string. Mention the pointer is numeric and not to ever pass
the retval to unpack('P[.
Porting/Maintainers.pl
dist/threads/lib/threads.pm