Branch: refs/heads/leont/shared_once
  Home:   https://github.com/Perl/perl5
  Commit: 833ff6b241a3d3a0354905a84c9514df920066cc
      
https://github.com/Perl/perl5/commit/833ff6b241a3d3a0354905a84c9514df920066cc
  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