Message132523
| Author | glglgl |
|---|---|
| Recipients | glglgl |
| Date | 2011-03-29.20:28:21 |
| SpamBayes Score | 0.0008574349 |
| 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:22 | glglgl | set | recipients: + glglgl |
| 2011-03-29 20:28:22 | glglgl | set | messageid: <1301430502.16.0.776924317561.issue11714@psf.upfronthosting.co.za> |
| 2011-03-29 20:28:21 | glglgl | link | issue11714 messages |
| 2011-03-29 20:28:21 | glglgl | create | |