Message131635
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. |
|
Date |
User |
Action |
Args |
2011-03-21 12:03:04 | kristjan.jonsson | set | recipients:
+ kristjan.jonsson, loewis, pitrou, tim.golden, brian.curtin, sbt |
2011-03-21 12:03:04 | kristjan.jonsson | set | messageid: <1300708984.37.0.757671503124.issue11618@psf.upfronthosting.co.za> |
2011-03-21 12:03:02 | kristjan.jonsson | link | issue11618 messages |
2011-03-21 12:03:02 | kristjan.jonsson | create | |
|