Intel® Moderncode for Parallel Architectures
Support for developing parallel programming applications on Intel® Architecture.

leaveCriticalSection hang on Hyperthreaded P4?

We are experiencing a problem on a P4 3.06 with WinXP Pro SP2 that only occurs if hyperthreading is enabled. Our heavily multi-threaded application can hang for minutes, even hours. Debugging the hang reveals that two threads are stalled when releasing a critical section using leaveCriticalSection. The section itself is not owned by any thread, but the threads are not executing.
This behaviour is identical to that described in the google group posting
The test application referenced in that thread also experiences the same problem. Note that another P4 with HTT (2.6GHz) and the same OS seems OK.
Has anyone heard of any similar issues, or have any recommendations on how to begin to avoid this behaviour?
0 Kudos
1 Reply
New Contributor I
talbotm -
Have you tried updating the BIOS on the machine that is giving trouble? A few posters that had similar troubles have found this fixes the problem. If you don't think the problem is not the operating system (since the other platform doesn't have this glitch), you might try this, especially if the problem occurs with a different OS on the target system.
0 Kudos