If by "nothing" you mean "nothing but looping", then yes, you are right. Any loop that "just loops" is doing something by definition: looping.
Re:GCC Rust: GCC Front-End for Rust
by Dylan16807 on Monday January 11, 2021 @12:07PM
(#25731913)
It depends on your perspective. Normally when I talk about what a loop "does", I am talking purely about the contents of the loop.
If your loop infinitely writes the number 70 to an atomic int, it's fine.