Change 30119 by [EMAIL PROTECTED] on 2007/02/04 20:32:13
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.
Affected files ...
... //depot/perl/perl.c#785 edit
Differences ...
==== //depot/perl/perl.c#785 (text) ====
Index: perl/perl.c
--- perl/perl.c#784~30105~ 2007-02-03 07:23:52.000000000 -0800
+++ perl/perl.c 2007-02-04 12:32:13.000000000 -0800
@@ -171,7 +171,12 @@
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);
}
}
End of Patch.