This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix segfaults when mainthread exits with other threads running:
authorNick Ing-Simmons <nik@tiuk.ti.com>
Wed, 3 Apr 2002 13:15:30 +0000 (13:15 +0000)
committerNick Ing-Simmons <nik@tiuk.ti.com>
Wed, 3 Apr 2002 13:15:30 +0000 (13:15 +0000)
commit62375a601d6dbbc42fa6d70d83d0a60b73d1b86d
tree7cf47279ebe56f251304d9b9d314f62c7066ce0a
parente5a119301ff5c8127ffae5b126fbb52e5a78c804
Fix segfaults when mainthread exits with other threads running:
 - track number of running threads
 - if main thread calls perl_destruct() with other threads running
   skip most of cleanup (with a warning).

p4raw-id: //depot/perlio@15698
embed.fnc
embed.h
embedvar.h
ext/threads/threads.xs
global.sym
perl.c
perl.h
perlapi.h
perlvars.h
pod/perlapi.pod
proto.h