Message103842
> Yes, I agree when Event objects are used to sync threads. But in my
> case, I'm using them like signals to terminate some server's thread
> through a proper way.
In this case, you don't have to use an Event. A boolean attribute on one
of your objects is enough.
(similarly, you would use a "volatile" variable in C) |
|
Date |
User |
Action |
Args |
2010-04-21 13:27:28 | pitrou | set | recipients:
+ pitrou, Kain94 |
2010-04-21 13:27:28 | pitrou | set | messageid: <1271856448.12.0.232035342224.issue8486@psf.upfronthosting.co.za> |
2010-04-21 13:27:25 | pitrou | link | issue8486 messages |
2010-04-21 13:27:25 | pitrou | create | |
|