Community
cancel
Showing results for 
Search instead for 
Did you mean: 
talbotm
Beginner
80 Views

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?
Thanks!
0 Kudos
1 Reply
ClayB
Black Belt
80 Views

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.
--clay
Reply