Using time.sleep() in 2 threads causes lockup when hyper-threading is enabled

OlafMeding at gmail.com OlafMeding at gmail.com
Wed May 3 23:09:37 CEST 2006


Tim

> Do you want someone running this test to hit the ENTER key, or not?

The purpose of the "sys.stdin.read(1)" statement is simply to prevent
the main thread from exiting and thus ending the test.  And yes, I also
get an exception when I press the enter key.

Olaf




More information about the Python-list mailing list