Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 0c4822b3c0f6dfa2ac22ac4fa1f7188d96693acb
https://github.com/Perl/perl5/commit/0c4822b3c0f6dfa2ac22ac4fa1f7188d96693acb
Author: Karl Williamson <[email protected]>
Date: 2023-12-14 (Thu, 14 Dec 2023)
Changed paths:
M perl.h
Log Message:
-----------
Use reentrant API when MULTIPLICITY
Prior to this commit it was only done when using threads. You can have
MULTIPLICITY without threads. And when you do, there is shared global
data that can get clobbered, and which the reentrant API automagically
greatly reduces the possibility of.
I claim that the prior situation indicates that it is pretty rare in
practice to have MULTIPLICITY defined without threads. Otherwise, we
would be getting tickets about race conditions. I believe @leont thinks
that many programs would not use the affected libc calls, so this
wouldn't be occurring much in the field.