This is an infinite loop, equivalent to a more readable while(true) .
Such a loop is often not used; it usually represents operations that should continue until the application is running. For instance:
server thread accepting connections
cleaning process for some time
reading endless input with pauses
The only way to avoid such a loop is:
source share