[Qt-interest] End thread when work is done
Cole, Derek
dcole at integrity-apps.com
Wed Aug 17 20:41:14 CEST 2011
I dont think that is the answer I was looking for. I dont want the worker thread to block, I just want it to add itself back to the available threads pool.
________________________________________
From: Konstantin Tokarev [annulen at yandex.ru]
Sent: Wednesday, August 17, 2011 2:37 PM
To: Cole, Derek
Cc: qt-interest at qt.nokia.com
Subject: Re: [Qt-interest] End thread when work is done
17.08.2011, 22:31, "Cole, Derek" <dcole at integrity-apps.com>:
>What can I put to make sure that each thread ends when the method to run has ended?
QThread::wait()
--
Regards,
Konstantin
More information about the Qt-interest-old
mailing list