hyperthreading locks up sleeping threads

Roel Schroeven rschroev_nospam_ml at fastmail.fm
Tue May 9 15:28:45 CEST 2006

OlafMeding at gmail.com schreef:
> Below are 2 files.  The first is a Python program that isolates the
> problem within less than 1 hour (often just a few minutes).  The second
> is a C++ program that shows that the Win32 Sleep() function works as
> expected (ran from Friday afternoon until Monday morning).
> Note, the Python programs hangs (stops responding) with hyper-threading
> turned on (a BIOS setting), but works as expected with hyper-threading
> turned off.
> This problem happens on Windows only (not on Linux for days).

> The operating system is MS Windows XP Professional.

> Could someone with a hyper-threading (or dual core or multi processor)
> CPU please
> confirm this bug?

Doesn't lock up on my system after 6 hours. Windows XP Pro, Python 
2.4.2, hyperthreading Pentium 4.

If I have been able to see further, it was only because I stood
on the shoulders of giants.  -- Isaac Newton

Roel Schroeven

More information about the Python-list mailing list