Subj : Hyper Threading / Multi-Threaded Queue / Application Freezes To : comp.programming.threads From : Shaw Date : Tue Apr 12 2005 08:34 am have an MFC application which contains a queue which is accessed by multiple threads. The main application thread is used to add items to the queue, while I have a worker thread which is used for taking items from the queue and passing them to another application. The queue is implemented using the MFC CList class, and add/remove operations are guarded by a critical section, therefore access to the queue is synchronized ( I hope ). My problem is this program has run great on 100's of machines for well over 12months, however recently has been tested on a Hyper-Threaded XP SP2 machine - and for some reasons the application locks up periodically. By "locks up", I mean the application frame freezes (not responding) for up to 10-20secs at a time and then returns to normal again. Seems there is some sort of livelock/deadlocal between the add/remove operations - however I can't work it out. Is there a problem with critical sections and multi threads on HT machines? Anyone had similar problems to this before? I can post code snippets if needs be... Help (pls) Wal .