in reply to Re^3: Forking child processes.
in thread Forking child processes.
ikegami, question about the sleep_till() function. I am sure there is a good reason, but why wouldn't you just do:
sub sleep_till { my ($sleep_till) = @_; my $duration = $sleep_till - time(); if ($duration > 0){ sleep($duration); } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Forking child processes.
by ikegami (Patriarch) on Nov 06, 2009 at 20:59 UTC |