[Qt-interest] efficient Wait for Thread finished?
Matthias Pospiech
matthias.pospiech at gmx.de
Tue Jan 20 17:44:12 CET 2009
Bradley T. Hughes schrieb:
> Matthias Pospiech wrote:
>
>> How should it look like?
>>
>
> Why aren't you using QThread::wait()?
>
>
How do I have to understand wait()? From the docs:
QThread::wait ( unsigned long time = ULONG_MAX )
Blocks the thread until either of these conditions is met:
Does this mean that it waits, while the thread is running, and blocks
the calling thread (which waits)?.
Or does it mean that the thread isself is blocked from executing while
the calling thread is waiting?
More information about the Qt-interest-old
mailing list