Name

SPVM::Sys::Signal::Handler - Signal Handler

Description

The Sys::Signal::Handler class has methods to manipulate signal handlers.

Usage

use Sys::Signal::Handler;

Class Methods

static method eq : int ($handler1 : Sys::Signal::Handler, $handler2 : Sys::Signal::Handler);

Checks if the $hander1 and $hander2 point to the same signal handler.

If the check is ok, returns 1, otherwise returns 0.

Exceptions:

$handler1 must be defined. Otherwise an exception is thrown.

$handler2 must be defined. Otherwise an exception is thrown.

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License