From 62375a601d6dbbc42fa6d70d83d0a60b73d1b86d Mon Sep 17 00:00:00 2001 From: Nick Ing-Simmons Date: Wed, 3 Apr 2002 13:15:30 +0000 Subject: 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 --- pod/perlapi.pod | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'pod/perlapi.pod') diff --git a/pod/perlapi.pod b/pod/perlapi.pod index ad0d6d850c..94f26eb63a 100644 --- a/pod/perlapi.pod +++ b/pod/perlapi.pod @@ -576,6 +576,16 @@ method, similar to C. =for hackers Found in file op.c +=item nothreadhook + +Stub that provides thread hook for perl_destruct when there are +no threads. + + int nothreadhook() + +=for hackers +Found in file perl.c + =item perl_alloc Allocates a new Perl interpreter. See L. -- cgit v1.2.1