This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Rewrite thread return code to distinguish between ordinary return
authorMalcolm Beattie <mbeattie@sable.ox.ac.uk>
Thu, 13 Nov 1997 18:01:27 +0000 (18:01 +0000)
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>
Thu, 13 Nov 1997 18:01:27 +0000 (18:01 +0000)
commit458fb5819c1ac395635ee1129f0f694cb0128ffd
tree123f1ed4ff91c494e3a36366f37f2cf0fbb87c06
parentc09156bb55f832ab6700e99026187942841f0ae4
Rewrite thread return code to distinguish between ordinary return
and die() and make join propagate the die. Add tiny method eval
which just does "return eval { shift->join; }". Add Thread::Specific
class for access to thread specific user data along with specific.t.
Rename Class to classname throughout Thread.xs for consistency.
Fix pp_specific to pp_threadsv in global.sym. Add support to
pp_entersub in pp_hot.c to lock stash for static locked methods.

p4raw-id: //depot/perl@248
MANIFEST
ext/Thread/Thread.pm
ext/Thread/Thread.xs
ext/Thread/Thread/Specific.pm [new file with mode: 0644]
ext/Thread/join.t
ext/Thread/specific.t [new file with mode: 0644]
global.sym
lib/fields.pm [new file with mode: 0644]
pp_hot.c
thread.h