summaryrefslogtreecommitdiff
path: root/makedef.pl
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-12-23 08:54:27 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-12-23 08:54:27 +0000
commit1feb27209aee3921894ffc1cc08027670d4240f3 (patch)
tree6b79a2ca2620a7e287d9d18cc5d660a977984bb5 /makedef.pl
parentfd9459bc435247011bdd5dc44ff2358cc4d1b124 (diff)
downloadperl-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.pl6
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