Issue #13502: threading: Fix a race condition in Event.wait() that made it
return False when the event was set and cleared right after.
4 files changed