diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-02-04 20:32:13 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-02-04 20:32:13 +0000 |
commit | c0bce9aa45a3d3e9c7a6fd9886d453d0ab22e69d (patch) | |
tree | f544e60fedad9e015309d108b2a6c6c7fa2a8881 | |
parent | 99363e4cd73219082c4d2dcedd645f4be940424b (diff) | |
download | perl-c0bce9aa45a3d3e9c7a6fd9886d453d0ab22e69d.tar.gz |
Change 23753 wasn't quite a perfect refactoring, as it omitted calling
PERL_SET_THX(my_perl); when !PL_curinterp for non-ithreads.
However, this would not have made a difference for any configuration
buildable from the blead source alone.
p4raw-id: //depot/perl@30119
-rw-r--r-- | perl.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -171,7 +171,12 @@ S_init_tls_and_interp(PerlInterpreter *my_perl) MUTEX_INIT(&PL_my_ctx_mutex); # endif } - else { +#if defined(USE_ITHREADS) + else +#else + /* This always happens for non-ithreads */ +#endif + { PERL_SET_THX(my_perl); } } |