Event mask selecting the kind of events to listen for.
Event waiting mode.
Waits for the selected event to occur.
See Implementation