logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

Test2::Util::Sig - Signal tools used by Test2 and friends.

Authors

       Chad Granum <exodist@cpan.org>
       Kent Fredric <kentnl@cpan.org>

Description

       Collection of signal tools used by Test2 and friends.

Exports

       All exports are optional. You must specify subs to import.

       ($ok, $err) = try_sig_mask { ... }
           Complete an action with several signals masked, they will be unmasked at the end allowing any signals
           that were intercepted to get handled.

           This is primarily used when you need to make several actions atomic (against some signals anyway).

           Signals that are intercepted:

           SIGINT
           SIGALRM
           SIGHUP
           SIGTERM
           SIGUSR1
           SIGUSR2

Maintainers

       Chad Granum <exodist@cpan.org>

Name

       Test2::Util::Sig - Signal tools used by Test2 and friends.

Source

       The source code repository for Test2 can be found at <https://github.com/Test-More/test-more/>.

See Also