<?php posix_kill(int $process_id, int $signal): bool
<?php }); $this->loop->futureTick(function () { posix_kill(posix_getpid(), SIGUSR1); }); $this->loop->run();
<?php $this->loop->addSignal(SIGUSR1, $func); $this->loop->addTimer(0.4, function () { posix_kill(posix_getpid(), SIGUSR1); }); $loop = $this->loop; $this->loop->addTimer(0.9, function () use (&$func, $loop) {
<?php } else if ($childPid === 0) { usleep(20000); posix_kill($currentPid, constant($signal)); die(); } }