THREADS use 100 % CPU all the time

Thomas Krüger see_signature at nospam.nowire.org
Wed Apr 11 05:47:08 EDT 2007


matthiasjanes at gmx.net schrieb:
> while (True):
>     pass

> Does anyone know how to run this without consuming all CPU.

Your while loop is taking all the CPU time.

Thomas

-- 
sinature: http://nospam.nowire.org/signature_usenet.png



More information about the Python-list mailing list