Branch: refs/heads/leont/shared_once
  Home:   https://github.com/Perl/perl5
  Commit: d5fedd071bee5aeee4b0738733307f8324c61085
      
https://github.com/Perl/perl5/commit/d5fedd071bee5aeee4b0738733307f8324c61085
  Author: Leon Timmermans <[email protected]>
  Date:   2021-08-04 (Wed, 04 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.


Reply via email to