Skip to content

Conversation

sisyphus
Copy link

Enabled by merging of Perl/perl5#23178 .
As of the merging of that PR, it is possible that an unthreaded Win32 build of perl has both USE_MULTI and USE_IMP_SYS defined.
The opening line of code in t/GetCurrentThreadId.t makes the (now) incorrect assumption that the perl is unthreaded because USE_IMP_SYS is defined.
This PR corrects that opening line by instead checking $Config{useithreads} for definedness.

@jkeenan
Copy link

jkeenan commented Jul 31, 2025

@xenu, @jandubois, can you please review this pull request and then prepare a new CPAN release (which we would then merge into the Perl 5 core distribution)? Thanks.

Copy link
Member

@jandubois jandubois left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants