We are porting a linux app to macOS / iOS
The app uses a timer wheel and timer_t type. This type is not defined in time.h class of macOS as described in:
why is "timer_t" defined in "time.h" on Linux but not OS X
Also the methods timer_create(), timer_settime() and timer_delete() are not defined.
This is the class that I'm porting: https://github.com/OpenOverlayRouter/oor/blob/testing/oor/lib/timers.c
We found that maybe we can do this with NSTimer and Objective-C but I would like to do in C.
Can we do it in C? Which kernel libraries should we use?
Thanks