summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorDan Sugalski <dan@sidhe.org>2000-10-25 09:36:35 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2000-10-25 20:14:30 +0000
commit8dcd6f7b32c170bcf62c1187a3413da9a3cdf97a (patch)
tree8465bcaf8dd18dc7ab182f0ea73e93049e9c1910 /util.c
parent2607bbb4b9732ac518aea01a4967f693eba5de58 (diff)
downloadperl-8dcd6f7b32c170bcf62c1187a3413da9a3cdf97a.tar.gz
Add non-blocking thread doneness checking
Message-Id: <5.0.0.25.0.20001025133504.01ef1e20@24.8.96.48> plus regen global.sym. p4raw-id: //depot/perl@7442
Diffstat (limited to 'util.c')
-rw-r--r--util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util.c b/util.c
index 2122d4ea17..619c5aaa69 100644
--- a/util.c
+++ b/util.c
@@ -3605,6 +3605,7 @@ Perl_new_struct_thread(pTHX_ struct perl_thread *t)
thr->specific = newAV();
thr->errsv = newSVpvn("", 0);
thr->flags = THRf_R_JOINABLE;
+ thr->thr_done = 0;
MUTEX_INIT(&thr->mutex);
JMPENV_BOOTSTRAP;