Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 6e13fe3b438e495550d0662d2d94f26a3727c319 https://github.com/Perl/perl5/commit/6e13fe3b438e495550d0662d2d94f26a3727c319 Author: Karl Williamson <k...@cpan.org> Date: 2023-08-22 (Tue, 22 Aug 2023)
Changed paths: M dist/threads/lib/threads.pm M dist/threads/threads.xs M embed.fnc M locale.c M perl.h M proto.h M util.c M win32/win32thread.c Log Message: ----------- switch_locale_context: Add aTHX This fixes GH #21040 Instead of a dTHX, this passes aTHX automatically, and skips calling this function if there is no valid context. It moves that decision into the macro itself, avoiding some #ifdef directives. And it adds explanation