Y
Hacker News
new
|
ask
|
show
|
jobs
by
rkv
3411 days 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?
1 comments
dfox
3411 days ago
From compiler's POW call to sleep() is side-effect.
link