A method includes detecting a first pending event related a first thread being
processed within a multithreaded processor. Responsive to the detection of the
first pending event, a second thread being processed within the multithreaded processor
is monitored to detect an event handling point for the second thread. Responsive
to the detection of the event handling point for the second thread, at least a
first event handler is invoked to handle at least the first pending event.