Branch: refs/heads/hv/safe-croak
  Home:   https://github.com/Perl/perl5
  Commit: 7ea0959092cbaf277c280ae8ea5d72dd9936348e
      
https://github.com/Perl/perl5/commit/7ea0959092cbaf277c280ae8ea5d72dd9936348e
  Author: Hugo van der Sanden <h...@crypt.org>
  Date:   2021-09-08 (Wed, 08 Sep 2021)

  Changed paths:
    M ext/ExtUtils-Miniperl/lib/ExtUtils/Miniperl.pm
    M miniperlmain.c

  Log Message:
  -----------
  Set my_perl to 0 after perl_destruct

It's useful to be able to check if there's a valid interpreter available.

This could be improved further by setting it _before_ we start to tear
it down, but that's likely to be a lot trickier.


  Commit: 92439015e03422c6ca37b9db0dc28823ca61ea78
      
https://github.com/Perl/perl5/commit/92439015e03422c6ca37b9db0dc28823ca61ea78
  Author: Hugo van der Sanden <h...@crypt.org>
  Date:   2021-09-08 (Wed, 08 Sep 2021)

  Changed paths:
    M embed.fnc
    M embed.h
    M proto.h
    M thread.h
    M util.c

  Log Message:
  -----------
  Add Perl_choke_nocontext

This is an analogue of Perl_croak_nocontext, for use specifically in
situations where we cannot be sure the perl interpreter has been fully
set up (or may already have been torn down).

Use this instead of croak within the MUTEX_INIT macro, which is expected
to be invoked during interpreter setup.


Compare: https://github.com/Perl/perl5/compare/7ea0959092cb%5E...92439015e034

Reply via email to