This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients jmoy, rhettinger, serhiy.storchaka
Date 2017-02-06.09:00:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1486371611.45.0.307322159511.issue29449@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2017-02-06 09:00:11serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, jmoy
2017-02-06 09:00:11serhiy.storchakasetmessageid: <1486371611.45.0.307322159511.issue29449@psf.upfronthosting.co.za>
2017-02-06 09:00:11serhiy.storchakalinkissue29449 messages
2017-02-06 09:00:11serhiy.storchakacreate