diff options
author | David Mitchell <davem@iabyn.com> | 2010-01-08 19:58:06 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2010-01-08 19:58:06 +0000 |
commit | 4149198fba64273f3fea8fc073ccb5d080059f4a (patch) | |
tree | 3c02c17252b79b69d48c27bd4b2249c5f6f08b43 | |
parent | b59cce4c9ab9c747c4b96a99d059821ace37a09a (diff) | |
download | perl-4149198fba64273f3fea8fc073ccb5d080059f4a.tar.gz |
reset sv_serial for each new interpreter
to a value of 0 + 1000000*interpreter_number
where interpreter_number is currently just a dirty hash of my_perl
-rw-r--r-- | sv.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -11836,6 +11836,7 @@ perl_clone_using(PerlInterpreter *proto_perl, UV flags, PL_sig_pending = 0; PL_parser = NULL; Zero(&PL_debug_pad, 1, struct perl_debug_pad); + PL_sv_serial = (((U32)my_perl >> 2) & 0xfff) * 1000000; #else /* !DEBUGGING */ Zero(my_perl, 1, PerlInterpreter); #endif /* DEBUGGING */ |