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.


Comments and Discussions!

Load comments ↻





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