Is there a way to create an alarm to be precise by a milisecond. Currently I used alarm(), together with the SIGALRM signal but that's too slow. I then tried with gettimeofday() but the cpu had overhead, using all 100%.
So is there a way to have something like ualarm() ?
Greets,
Luka