A lock that prioritizes acquire()s?
David M Chess
chess at us.ibm.com
Thu Oct 25 00:04:15 CEST 2012
Lovely, thanks for the ideas! I remember considering having release()
pick the next thread to notify, where all the waiters were sitting on
separate Conditions or whatever; not sure why I didn't pursue it to the
end. Probably distracted by something shiny; or insufficient brainpower.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list