Hi everyone!
I have experienced strange behaviour of my multi-threaded application I cannot explain.
It works fine when compiled in debug mode, but when it is compiled in release mode (on Windows XP) and then run it looks that the threads (I have about 20 of them) stop one by one in periods of several seconds.
I've found out in QT docs that some OS may have limitations on how many threads can the application have. But I haven't found anywhere how many it is on Win XP. Does any of you have experiance with that number of threads on Windows XP to share your experiance with me please? And why they stop not straight ahead, but after a while and only in release mode??? I have no clue![]()


Reply With Quote


It is similar to a dead-lock situation which occurs when one object (thread) can never gain access to a resource (CPU, printer, file, whatever) it needs because it is always blocked by some other object. A life-lock is a situation when theoretically it may happen that the object gets access to the resource but in practice it never (or very rarely) happens and the object can never complete its task in expected time.

Bookmarks