tony at develop-help
Aug 10, 2012, 12:32 AM
Post #1 of 1
On Wed, Aug 08, 2012 at 05:59:28PM -0700, bulk 88 via RT wrote:
Re: [perl #88840] [PATCH] t/op/fork.t blocks in external process test on Win32
> Wrote up a patch. fork.t/"fast kill 9 after fork" stopped deadlocking
> for me. I wonder if the 5 ms delay is enough (I really dont know). I
> came up with the 5 ms delay from the previous code that did 5 "Sleep(0)"s.
I tried this and ran t/op/fork.t in a loop.
First time it deadlocked after 7 runs, second it deadlocked after 27
I increased delay to 10 ms and it successfully ran the test 500 times.
Also, please use git format-patch to produce patches.