I want to design a timer in Linux, but due to some system constraints and design requirements i cannot use the POSIX timer APIs.
Can somebody kindly let me know, what are the other timer design mechanisms available in Linux apart from the POSIX timers? (timer_create, timer_settime etc to avoid)
Thanks in advance.
EDIT: P.S: Any mechanism you provide, requesting you to kindly give me some useful links or example links
NOTE: We can’t use any third party library (Like ACE library) as our code is a proprietory code.
Check out my answer. One of the timers I find useful is timerfd_create() API provided in Linux system call. This blends well when your application is structured on an event loop.