On 6/28/07, Eric Wilhelm <[EMAIL PROTECTED]> wrote:
I was thinking there needs to be a shared filehandle with a stream of
time on it similar to the below, but with various time() and sleep()
methods overridden.  Calls to time() or sleep() would peel-off lines,
thus keeping everyone in sync.  It becomes impossible for two things to
happen at the same time (and I think I'm seeing the child blocking the
parent's reads.

How about just having a file with a time offset?  Use PERL5OPT to
automatically load up a module that overrides the various perl calls
to return the normal result of the call modified by the offset.  As
long as you stay with Perl processes, that might be sufficient.

Regards,
David

Reply via email to