Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Mar 2005
using timer_list structure for storing 10000 timers
I am building a server that would need to have around 10000 timers. As timer expires a call back function will be called in the user space. I want to know the best possible approach for having such large timers. Which of the following approaches is the best?
1. using timer_list data structure provided by kernel
2. use sigalrm
3. sleep and wake up every second to check
4. use of interval timers
I am waiting to hear the answer.