The set()
function is used to notify events (set signals).
set()
Please refer to the threading.Event()
section for examples.
If the signal has been set using set()
, it cannot be set again. We need to clear the signal and set it again.
{@fun/Threads/ThreadEvent/clear clear}, {@fun/Threads/ThreadEvent/wait wait}, {@fun/Threads/ThreadEvent/isSet isSet}
ThreadLock clear