Event

This series fix handling of spurious wakeups in threading.Event, when used with pthreading.Condition.