Serhiy Storchaka added the comment:

> A return value from clear will indicate to a thread if it won the race to 
> clear the event.

I think other synchronization primitives should be used for this. I'm not sure 
that other implementations of Event (e.g. multiprocessing.Event) can 
efficiently return the previous state.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29449>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to