Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: ba6958b4a04da33199e4c63e56eebaf6e3d51aee
https://github.com/Perl/perl5/commit/ba6958b4a04da33199e4c63e56eebaf6e3d51aee
Author: Leon Timmermans <[email protected]>
Date: 2021-08-05 (Thu, 05 Aug 2021)
Changed paths:
M dist/threads-shared/lib/threads/shared.pm
M dist/threads-shared/shared.xs
Log Message:
-----------
Only initialize threads::shared interpreter once
Previously, the shared interpreter would be recreated every time the
bootstrap was run, in the assumption that the bootstrap would only be
run once. This assumption isn't necessarily true if multiple non-cloned
interpreters exist.
Theoretically there's still a race condition around initialization, but
I'm not particularly worried about that.