logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Signal::Pending - Signal pending status made easy

Author

       Leon Timmermans <fawaka@gmail.com>

Description

       Signal::Pending is an abstraction around your process'/thread's pending signals. It can be used in
       combination with signal masks to handle signals in a controlled manner. The set of pending signals is
       available as the global hash %Signal::Pending.

Name

       Signal::Pending - Signal pending status made easy

Synopsis

        use Signal::Mask;
        use Signal::Pending;

        {
            local $Signal::Mask{INT} = 1;
            do {
                        something();
            } while (not $Signal::Pending{INT})
        }
        #signal delivery gets postponed until now

Version

       version 0.008

See Also