[Interest] Best way to terminate threads using QWaitCondition

Bob Hood bhood2 at comcast.net
Sat Nov 21 22:26:06 CET 2015


On 11/21/2015 1:26 PM, Thiago Macieira wrote:
>> that are synchronizing using QMutex/QWaitCondition.  In my working
>> code, I'm getting error messages that look like:
>>
>>       QWaitCondition: cv destroy failure: Device or resource busy
>>       QWaitCondition: mutex destroy failure: Device or resource busy
> What's the backtrace of those warnings? Which thread were they printed from?

I'm getting them from the child process that has the threads.  The process is 
being launched from a parent using QProcess.  I'm trapping the child's stdout 
and stderr, and these are coming through on the stderr.

I'll attach at debugger to the child and see if I can pinpoint the thread.



More information about the Interest mailing list