summaryrefslogtreecommitdiff
path: root/malloc.c
diff options
context:
space:
mode:
authorIlya Zakharevich <ilya@math.berkeley.edu>1997-11-25 15:59:16 +0000
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-11-25 15:59:16 +0000
commit18f739eeef869ffadc3775821df62e4b90bf75b0 (patch)
tree53cd79aed73f55f7b2876741c2fb27786134a75a /malloc.c
parentd0066dc7de72349a42c2c47e1fc66da2ba66542a (diff)
downloadperl-18f739eeef869ffadc3775821df62e4b90bf75b0.tar.gz
Move malloc_mutex initialisation/destruction:
Subject: patch to 5.004_54 for pthreads with Perl's malloc p4raw-id: //depot/perl@299
Diffstat (limited to 'malloc.c')
-rw-r--r--malloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/malloc.c b/malloc.c
index 5f0c7fd185..ae3773acc0 100644
--- a/malloc.c
+++ b/malloc.c
@@ -191,6 +191,7 @@ emergency_sbrk(size)
}
if (!emergency_buffer) {
+ dTHR;
/* First offense, give a possibility to recover by dieing. */
/* No malloc involved here: */
GV **gvp = (GV**)hv_fetch(defstash, "^M", 2, 0);