A method and apparatus for an event handling mechanism are described.
Under an embodiment of the invention, a method comprises setting a timer
for a plurality of time intervals; calling a polling function at the end
of each of the plurality of time intervals, the polling function being
performed by a first processor; and if the polling function results in a
positive result, processing the results of the polling function with a
second processor.