Regarding the blocking, there's a bug report on CPAN:
http://rt.cpan.org/Public/Bug/Display.html?id=19169

I think the reasoning there is sound; the parent could send both ALRM
signals before $awake is set to 0, leaving nothing to wake up the child
the second time.  The fix there adds a 'sleep 1' into the mix, but
better might be for the child to signal the parent that it has finished
the first part of the processing and is ready for the next (so the
parent gets a 'sleep unless $awake' line as well).

Regarding the tests falling out of order, this must happen when the
child exits unexpectedly before running the second and third tests, I
think?  Or doesn't manage to print anything.

-- 
Tim Retout <t...@retout.co.uk>



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to