perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Förtsch <torsten.foert...@gmx.net>
Subject Re: [PATCH 2.0.5 futex] Fix to Children stuck on futex problem
Date Sun, 11 Mar 2012 19:19:41 GMT
On Wednesday, 07 March 2012 11:15:36 Torsten Förtsch wrote:
> On Sunday, 04 March 2012 10:29:45 SalusaSecondus wrote:
> > Broken behavior:
> > 4 threads, 2 free interpreters
> > 1: A (1,1)
> > 2: A (2,0)
> > 3: W
> > 4: W
> > 1: P (1,1) B
> > 2: P (0,2) <-- No broadcast because there was an available interpreter
> > prior to this putback.
> > 3: A (1,1)
> > 3: P (0,2) <-- No broadcast because there was an available interpreter
> > prior to this putback.
> > (Broken)
> 
> Your analysis seems correct, good catch, thanks!

I committed your change as revision 1299429, thanks.

I decided not to construct a test case because the implementation seemed the 
buggier the more I thought about it. Further, even if I could conceive a test 
case what would it check? Only the fact that nobody reverts the change because 
it could only be quite artificial. That would be ridiculous.

Torsten Förtsch

-- 
Need professional modperl support? Hire me! (http://foertsch.name)

Like fantasy? http://kabatinte.net


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message