M
Michel Rouzic
I got a loop checking if the system time has took one more second or
not since last iteration, works nicely, but it uses the whole CPU.
I've read many previous topics on c.l.c about wait() type functions but
I want standard C. I'm just trying to relieve the CPU by making a short
pause in each iteration of the loop, so my loop iterates a few
thousand/million times less often, is there any portable way of doing
it?
not since last iteration, works nicely, but it uses the whole CPU.
I've read many previous topics on c.l.c about wait() type functions but
I want standard C. I'm just trying to relieve the CPU by making a short
pause in each iteration of the loop, so my loop iterates a few
thousand/million times less often, is there any portable way of doing
it?