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 /os2 | |
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 'os2')
-rw-r--r-- | os2/os2.c | 1 | ||||
-rw-r--r-- | os2/os2ish.h | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1147,6 +1147,7 @@ Perl_OS2_init(char **env) { char *shell; + MALLOC_INIT; settmppath(); OS2_Perl_data.xs_init = &Xs_OS2_init; if (environ == NULL) { diff --git a/os2/os2ish.h b/os2/os2ish.h index b62e3d04d4..9a3d267ae5 100644 --- a/os2/os2ish.h +++ b/os2/os2ish.h @@ -74,7 +74,7 @@ void Perl_OS2_init(char **); _wildcard(argcp, argvp); \ Perl_OS2_init(env); } STMT_END -#define PERL_SYS_TERM() +#define PERL_SYS_TERM() MALLOC_TERM /* #define PERL_SYS_TERM() STMT_START { \ if (Perl_HAB_set) WinTerminate(Perl_hab); } STMT_END */ |