In lieu of your CPU-time-eating delay, you might look into sleep, which is much more deterministic. In other words, it's more efficient, and it's easier to get the time right.
In reply to Re: Do-nothing loops
by chromatic
in thread Do-nothing loops
by Wassercrats
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |