fork : add the replacement of ticks=1
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5977 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
1
fork.php
1
fork.php
@@ -20,6 +20,7 @@ class fork
|
|||||||
throw new \Exception ("Can't fork as PHP doesn't have the pcntl_fork",
|
throw new \Exception ("Can't fork as PHP doesn't have the pcntl_fork",
|
||||||
500);
|
500);
|
||||||
declare (ticks=1);
|
declare (ticks=1);
|
||||||
|
@pcntl_async_signals (true);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Return the number of active PID
|
/** Return the number of active PID
|
||||||
|
|||||||
Reference in New Issue
Block a user