[Qt-interest] QWaitCondition and QtConcurrent::blockingMap
Scott Aron Bloom
Scott.Bloom at sabgroup.com
Thu Feb 26 16:28:47 CET 2009
> Artyom wrote:
> > Hi all,
> >
> > I am new to Qt and I am trying to use blockingMap to do some non-Qt
> > computation. All computation completes successfully with a single
> call
> > to blockingMap. However, once the program terminates I receive this
> > message: `QWaitCondition: Destroyed while threads are still
waiting'.
> > What does this mean and is there a way to get rid of it? I browsed
> this
> > newsgroup for possible answers but most of them deal with creating
> > threads manually. Because blockingMap manages threads automatically
I
> > suspect this might be a bug.
> >
> > Regards,
> > Arty
>
> I guess I should clarify that I am running Windows Vista Business
> 64-bit, Microsoft Visual Studio 2008 SP1. The application is 32-bit
and
> I am using 32-bit libraries.
>
> Arty
[Scott Aron Bloom]
What this error means, is when you are exiting the application, your are
deleting your threads without stopping them first.
You need some sort of signal to tell them to stop, and wait for the
threads to finish.
Scott
More information about the Qt-interest-old
mailing list