Author glglgl
Recipients glglgl
Date 2011-03-29.20:28:21
SpamBayes Score 0.000857435
Marked as misclassified No
Message-id <1301430502.16.0.776924317561.issue11714@psf.upfronthosting.co.za>
In-reply-to
Content
I wonder if it is right what I wrote. After a second thought, the acquire() should come *after* try:, as well in threading.Event. Because if Ctrl-C is pressed while waiting in acquire(), a KeyboardInterrupt is thrown immediately after returning from acquire(). This lock must be release()d again in order to be consistent.
History
Date User Action Args
2011-03-29 20:28:22glglglsetrecipients: + glglgl
2011-03-29 20:28:22glglglsetmessageid: <1301430502.16.0.776924317561.issue11714@psf.upfronthosting.co.za>
2011-03-29 20:28:21glglgllinkissue11714 messages
2011-03-29 20:28:21glglglcreate