diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-12-23 08:54:27 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-12-23 08:54:27 +0000 |
commit | 1feb27209aee3921894ffc1cc08027670d4240f3 (patch) | |
tree | 6b79a2ca2620a7e287d9d18cc5d660a977984bb5 /makedef.pl | |
parent | fd9459bc435247011bdd5dc44ff2358cc4d1b124 (diff) | |
download | perl-1feb27209aee3921894ffc1cc08027670d4240f3.tar.gz |
bring in basic threads stuff under USE_ITHREADS
p4raw-id: //depot/perl@4704
Diffstat (limited to 'makedef.pl')
-rw-r--r-- | makedef.pl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/makedef.pl b/makedef.pl index 1d585a2e31..eb599c9ae5 100644 --- a/makedef.pl +++ b/makedef.pl @@ -338,6 +338,11 @@ if ($define{'MYMALLOC'}) { Perl_realloc Perl_calloc )]; + if ($define{'USE_THREADS'} || $define{'USE_ITHREADS'}) { + emit_symbols [qw( + PL_malloc_mutex + )]; + } } else { skip_symbols [qw( @@ -357,7 +362,6 @@ unless ($define{'USE_THREADS'}) { PL_sv_mutex PL_strtab_mutex PL_svref_mutex - PL_malloc_mutex PL_cred_mutex PL_eval_mutex PL_eval_cond |