Events
This lesson talks about Events, which is a lesser known utility class within the threading module.
We'll cover the following...
Events
An event object is one of the simplest primitives available for synchronization. Internally, it has a boolean flag that can be set or unset using the methods set()
and clear()
. Additionally, a thread can check if the flag is set to true by invoking the is_set()
method.
The event object exposes a ...