On Wed Dec 19 08:52:21 2007, TONVOON wrote:
Show quoted text> I've found this is a problem with the speed of response to a kill
> ALRM. The parent must be
> sending the ALRM signal so quickly that the child doesn't get to
> process it soon enough. My
> fix was to add a sleep 1 after the first ALRM.
>
> I now get consistent passes for this test.
>
> diff -ur IPC-Shareable-0.60.original/t/38ipchv.t IPC-Shareable-
> 0.60/t/38ipchv.t
> --- IPC-Shareable-0.60.original/t/38ipchv.t 2001-01-11
> 15:49:13.000000000 +0000
> +++ IPC-Shareable-0.60/t/38ipchv.t 2007-12-19 13:42:53.000000000
> +0000
> @@ -70,6 +70,7 @@
> });
> %hv = ();
> kill ALRM => $pid;
> + sleep 1; # Allow time for child to process the signal
> before next ALRM comes in
>
> for (qw(eenie meenie minie moe)) {
> $ipch->shlock();
>
>
I applied this patch, can someone who can reproduce the problem test with
https://github.com/msouth/IPC-Shareable.git and make sure it fixes it?
I hate to release a change without a confirmation.