From a9d4f3deb378179f45935987c100410daee6d270 Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Sun, 3 May 2020 14:40:24 +0000 Subject: [PATCH] fork : add the replacement of ticks=1 git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5977 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- fork.php | 1 + 1 file changed, 1 insertion(+) diff --git a/fork.php b/fork.php index 2292e9a..e866c7a 100644 --- a/fork.php +++ b/fork.php @@ -20,6 +20,7 @@ class fork throw new \Exception ("Can't fork as PHP doesn't have the pcntl_fork", 500); declare (ticks=1); + @pcntl_async_signals (true); } /** Return the number of active PID