summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorArtur Bergman <sky@nanisky.com>2001-07-11 16:23:37 +0200
committerJarkko Hietaniemi <jhi@iki.fi>2001-07-11 13:13:27 +0000
commit1fcf4c126eb604a2803256137e52891a03090e84 (patch)
tree0e52b9ba379dfaf92f8f13447fb6e207ec6dbe2d /perl.c
parent742dc7f97e9775960295fb61b8ceb6a959d8c031 (diff)
downloadperl-1fcf4c126eb604a2803256137e52891a03090e84.tar.gz
Threadsafe PMOPs! We might still win this war.
Message-ID: <000b01c10a04$4fa16a10$21000a0a@vogw2kdev> Threadsafe PMOPs for ithreads, waiting for AMS's Perl_re_dup(). p4raw-id: //depot/perl@11274
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl.c b/perl.c
index cef5c4783a..90d7134e3a 100644
--- a/perl.c
+++ b/perl.c
@@ -312,7 +312,9 @@ perl_construct(pTHXx)
PL_fdpid = newAV(); /* for remembering popen pids by fd */
PL_modglobal = newHV(); /* pointers to per-interpreter module globals */
PL_errors = newSVpvn("",0);
-
+#ifdef USE_ITHREADS
+ PL_regex_padav = newAV();
+#endif
ENTER;
}