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


Comments and Discussions!

Load comments ↻


Advertisement
Advertisement
Advertisement

Copyright © 2025 www.includehelp.com. All rights reserved.