Antoine Pitrou <[email protected]> added the comment: > 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) ---------- _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue8486> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
