Home »
Python »
Python Reference
Python Event Class Methods
Python Event Class has the following built-in functions.
| Method |
Description |
| clear() |
Resets the internal flag to false. |
| is_set() |
Returns true if the internal flag is true. |
| set() |
Sets the internal flag to true. |
| wait() |
Blocks the thread until the internal flag is true. |
Advertisement
Advertisement