- select() added before first fork msg.
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@236
c11ca15a-4712-0410-83d8-
924469b57eb5
if ($no_timehires) { # fallback.
return time();
} else { # the real thing.
- return gettimeofday();
+ return [gettimeofday()];
}
}
$SIG{CHLD} = 'IGNORE';
$pid = eval { fork() };
return $noreply if $pid; # parent does nothing
+
+ select(undef, undef, undef, 0.2);
&status("fork starting for '$label', PID == $$.");
&shmWrite($shm,"SET FORKPID $label $$");