I intend to run a periodic routine.
Which way could guarantee more precise delay? nanosleep or timer_create, timer_settime?
The type of their input argument is same(struct itimerspec).
It would be better if there could be a description about the internal implenmetation in your answer.
Could anybody help to make it clear for me? I would be thankful for any hint on this question.