summaryrefslogtreecommitdiff
path: root/makedef.pl
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2002-10-19 14:10:21 +0000
committerH.Merijn Brand <h.m.brand@xs4all.nl>2002-10-19 14:10:21 +0000
commitfe57f940e7ee2a6f7a62b5af5cabf9ddd9fe955a (patch)
tree304393fdb48236335e35a83047fba6223e13f602 /makedef.pl
parentb78a2e7c775a2153fd1164dbcf27f1ac6115bbdd (diff)
downloadperl-fe57f940e7ee2a6f7a62b5af5cabf9ddd9fe955a.tar.gz
Happy chainsaw stories; The removal of the 5005 threads
Still imcomplete. Configure will follow p4raw-id: //depot/perl@18030
Diffstat (limited to 'makedef.pl')
-rw-r--r--makedef.pl15
1 files changed, 4 insertions, 11 deletions
diff --git a/makedef.pl b/makedef.pl
index 86a18087dc..564ded0f76 100644
--- a/makedef.pl
+++ b/makedef.pl
@@ -105,7 +105,6 @@ if ($define{USE_ITHREADS}) {
$define{PERL_IMPLICIT_CONTEXT} ||=
$define{USE_ITHREADS} ||
- $define{USE_5005THREADS} ||
$define{MULTIPLICITY} ;
if ($define{USE_ITHREADS} && $PLATFORM ne 'win32' && $^O ne 'darwin') {
@@ -582,7 +581,7 @@ if ($define{'MYMALLOC'}) {
Perl_strdup
Perl_putenv
)];
- if ($define{'USE_5005THREADS'} || $define{'USE_ITHREADS'}) {
+ if ($define{'USE_ITHREADS'}) {
emit_symbols [qw(
PL_malloc_mutex
)];
@@ -602,13 +601,13 @@ else {
)];
}
-unless ($define{'USE_5005THREADS'} || $define{'USE_ITHREADS'}) {
+unless ($define{'USE_ITHREADS'}) {
skip_symbols [qw(
PL_thr_key
)];
}
-unless ($define{'USE_5005THREADS'}) {
+# USE_5005THREADS symbols. Kept as reference for easier removal
skip_symbols [qw(
PL_sv_mutex
PL_strtab_mutex
@@ -635,7 +634,6 @@ unless ($define{'USE_5005THREADS'}) {
Perl_magic_mutexfree
Perl_sv_lock
)];
-}
unless ($define{'USE_ITHREADS'}) {
skip_symbols [qw(
@@ -732,11 +730,6 @@ sub readvar {
return \@syms;
}
-if ($define{'USE_5005THREADS'}) {
- my $thrd = readvar($thrdvar_h);
- skip_symbols $thrd;
-}
-
if ($define{'PERL_GLOBAL_STRUCT'}) {
my $global = readvar($perlvars_h);
skip_symbols $global;
@@ -960,7 +953,7 @@ else {
my $glob = readvar($intrpvar_h);
emit_symbols $glob;
}
- unless ($define{'MULTIPLICITY'} || $define{'USE_5005THREADS'}) {
+ unless ($define{'MULTIPLICITY'}) {
my $glob = readvar($thrdvar_h);
emit_symbols $glob;
}