Name
wait
Synopsis
e
.wait(timeout
=None)
If e
’s flag is
True
, wait
returns immediately.
Otherwise, wait
suspends the calling thread until
some other thread calls set
.
timeout
is covered earlier in Section 14.4.2.1.
Get Python in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.