Using time.sleep() in 2 threads causes lockup when hyper-threading is enabled
Serge Orlov
Serge.Orlov at gmail.com
Wed May 3 16:43:51 EDT 2006
OlafMeding at gmail.com wrote:
> Below are 2 files that isolate the problem. Note, both programs hang
> (stop responding) with hyper-threading turned on (a BIOS setting), but
> work as expected with hyper-threading turned off.
What do you mean "stop responding"? Not responding when you press
ctrl-c? They stop printing? If you mean stop printing, try
sys.stdout.flush() after each print
More information about the Python-list
mailing list