Methods and apparatus, including computer program products, implementing
and using techniques for alerting one or more computer software
application threads waiting to retrieve events from an event port. An
alert event generated by a computer software application is received at
the event port. A state of the event port is changed to an alert state,
if the event port is not already in an alert state, in response to
receiving the alert event. One or more of the computer software
application threads is notified about the alert state of the event port.