diff options
author | Ilya Zakharevich <ilya@math.berkeley.edu> | 1997-11-25 15:59:16 +0000 |
---|---|---|
committer | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1997-11-25 15:59:16 +0000 |
commit | 18f739eeef869ffadc3775821df62e4b90bf75b0 (patch) | |
tree | 53cd79aed73f55f7b2876741c2fb27786134a75a /perl.c | |
parent | d0066dc7de72349a42c2c47e1fc66da2ba66542a (diff) | |
download | perl-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 'perl.c')
-rw-r--r-- | perl.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -134,7 +134,6 @@ perl_construct(register PerlInterpreter *sv_interp) if (pthread_key_create(&thr_key, 0)) croak("panic: pthread_key_create"); #endif - MUTEX_INIT(&malloc_mutex); MUTEX_INIT(&sv_mutex); /* * Safe to use basic SV functions from now on (though @@ -529,7 +528,6 @@ perl_destruct(register PerlInterpreter *sv_interp) DEBUG_P(debprofdump()); #ifdef USE_THREADS MUTEX_DESTROY(&sv_mutex); - MUTEX_DESTROY(&malloc_mutex); MUTEX_DESTROY(&eval_mutex); COND_DESTROY(&eval_cond); |