3 ms·
> If you really want to go to sleep, use pause() or similar. An infinite loop eats up CPU cycles Yes but an infinite loop + sleep is okay, right?
by rkv 10y ago
> If you really want to go to sleep, use pause() or similar. An infinite loop eats up CPU cycles
Yes but an infinite loop + sleep is okay, right?
- dfox 10y agoFrom compiler's POW call to sleep() is side-effect.