Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 862da591b9e2ff68b8bc9c27700ebd7e19b7b9c5
      
https://github.com/Perl/perl5/commit/862da591b9e2ff68b8bc9c27700ebd7e19b7b9c5
  Author: Tomasz Konojacki <m...@xenu.pl>
  Date:   2023-07-11 (Tue, 11 Jul 2023)

  Changed paths:
    M XSUB.h
    M dist/threads/lib/threads.pm
    M dist/threads/threads.xs

  Log Message:
  -----------
  XSUB.h: remove setjmp and longjmp overrides

Those redefinitions are in effect only when PERL_IMPLICIT_SYS is defined
(pretty much only on Windows) and they're broken (circular) when
HAS_SIGSETJMP isn't defined (e.g. on Windows). Also, even if they
weren't broken, they don't provide any value.

The workaround in threads.xs for this issue is still needed, because
it's a dual-life module and it's supposed to work on older Perls.
However, it can be simplified by defining NO_XSLOCKS to suppress the
redefinitions.

Fixes #21039


Reply via email to