Author kristjan.jonsson
Recipients brian.curtin, kristjan.jonsson, loewis, pitrou, sbt, tim.golden
Date 2011-03-21.12:03:01
SpamBayes Score 0.001448
Marked as misclassified No
Message-id <1300708984.37.0.757671503124.issue11618@psf.upfronthosting.co.za>
In-reply-to
Content
Yes, the race condition with the timeout is a problem.
Here is a patch that implements this lock using a condition variable.
I agree that one must consider performance/simplicity when doing this.
History
Date User Action Args
2011-03-21 12:03:04kristjan.jonssonsetrecipients: + kristjan.jonsson, loewis, pitrou, tim.golden, brian.curtin, sbt
2011-03-21 12:03:04kristjan.jonssonsetmessageid: <1300708984.37.0.757671503124.issue11618@psf.upfronthosting.co.za>
2011-03-21 12:03:02kristjan.jonssonlinkissue11618 messages
2011-03-21 12:03:02kristjan.jonssoncreate