Event

This series fix handling of spurious wakeups in threading.Event class.