unix and timers

Hello there.. I need to know when i start indipendant
timers how can i recognize which of the active timers
have made timeout alarm.
The number of started timers depends on the running app
I'd appreciate your help
Thanks in advance