A busy-waiting loop repeatedly consumes execution time while waiting. Unlike sleeping, it does not interrupt the thread or let another thread take over. section 16.3.1
Simulating meter-setting time
A reader–writer simulation uses busy waiting to represent one second per meter-setting level and two seconds of logger work. The loop keeps the thread active while the shared meter remains protected by synchronization. section 16.3.1


