&gt;An infinite loop is a deadlock<p>It isn&#x27;t. I don&#x27;t know what else to say:<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Deadlock" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Deadlock</a>