This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
make RC-stack-aware: enter/leavewrite
authorDavid Mitchell <davem@iabyn.com>
Sun, 4 Dec 2022 16:17:51 +0000 (16:17 +0000)
committerDavid Mitchell <davem@iabyn.com>
Wed, 16 Aug 2023 16:16:59 +0000 (17:16 +0100)
commit0b31aa7d181182ad24da460f8edd88ade2ed7e54
tree7702c1fe14df1533733a030e01647583212af10a
parentd0b0195f544e5c2769b5a325c635a1eaec4ee765
make RC-stack-aware: enter/leavewrite

Update pp_enterwrite() and pp_leavewrite() to handle a reference-counted
stack environment in the presence of PERL_RC_STACK.

But in the presence of PERL_XXX_TMP_NORC, don't actually manipulate
reference counts yet. This will be turned off in a few commits' time.
pp_sys.c