摘要 |
A timer and an event processing method thereof are provided to generate a reliable timer event to an application process requesting registration of the timer event by causing no performance degradation while accepting the registration of lots of timer events. A timer event registration message receiver(110) receives a message for requesting the registration of the timer event from the application process(10). A free pool(130) is a memory space secured to assign the timer event. An active pool(140) is the memory area for storing the timer event by being assigned from the free pool. A timer event expiration calculator(150) calculates expiration of the timer events stored in the active pool. A timer event notification message transmitter(120) transmits the message for notifying the application process of the timer event on the expiration of the timer event stored in the active pool. If the memory space is not found in the free pool, the new memory space is assigned to the free pool and the memory space corresponding to the expired timer event is collected to the free pool.
|