This commit is contained in:
as2252258@163.com
2021-02-27 03:15:31 +08:00
parent e919ab186c
commit b90609e83c
-3
View File
@@ -60,9 +60,6 @@ class OnWorkerStart extends Callback
*/
public function onTaskSignal(Server $server, int $workerId)
{
go(function () use ($server) {
var_dump(Coroutine\System::waitPid($server->worker_pid, -1));
});
go(function () use ($server, $workerId) {
try {
$sigkill = Coroutine::waitSignal(SIGKILL | SIGUSR1);