pcntl_async_signals
reactphp/event-loop
Supported Versions: PHP 7 >= 7.1.0, PHP 8
Enable/disable asynchronous signal handling or return the old setting
pcntl_async_signals
(?
bool $enable
=
null
):
bool
if (
$this
->
pcntl
&& !
$this
->
pcntlPoll
) {
\pcntl_async_signals
(
true
);
}
}
src/StreamSelectLoop.php