summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2002-04-03 13:15:30 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2002-04-03 13:15:30 +0000
commit62375a601d6dbbc42fa6d70d83d0a60b73d1b86d (patch)
tree7cf47279ebe56f251304d9b9d314f62c7066ce0a /perl.h
parente5a119301ff5c8127ffae5b126fbb52e5a78c804 (diff)
downloadperl-62375a601d6dbbc42fa6d70d83d0a60b73d1b86d.tar.gz
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
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index f499e7b455..958ecb41ab 100644
--- a/perl.h
+++ b/perl.h
@@ -2797,6 +2797,7 @@ typedef Sighandler_t Sigsave_t;
typedef int (CPERLscope(*runops_proc_t)) (pTHX);
typedef void (CPERLscope(*share_proc_t)) (pTHX_ SV *sv);
+typedef int (CPERLscope(*thrhook_proc_t)) (pTHX);
typedef OP* (CPERLscope(*PPADDR_t)[]) (pTHX);
/* _ (for $_) must be first in the following list (DEFSV requires it) */