This commit is contained in:
Romain Neutron
2013-10-30 19:35:23 +01:00
parent 36f7b24f26
commit 9b471fdf76
129 changed files with 473 additions and 477 deletions

View File

@@ -593,14 +593,14 @@ class task_Scheduler
break;
}
}
if(function_exists('pcntl_sigprocmask')) {
if (function_exists('pcntl_sigprocmask')) {
@pcntl_sigprocmask(SIG_BLOCK, array(SIGCHLD));
}
sleep(1);
for ($i = 0; $this->schedstatus=='started' && $i < $sleeptime; $i++) {
sleep(1);
}
if(function_exists('pcntl_sigprocmask')) {
if (function_exists('pcntl_sigprocmask')) {
@pcntl_sigprocmask(SIG_UNBLOCK, array(SIGCHLD));
}
}