Results 1 to 2 of 2

Thread: QWaitCondition: Destroyed while threads are still waiting on application exit

  1. #1
    Join Date
    Dec 2009
    Posts
    29
    Thanks
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default QWaitCondition: Destroyed while threads are still waiting on application exit

    Hello,

    I have the following warning 5 times in the console each time I exit qt application:

    QWaitCondition: Destroyed while threads are still waiting

    Every thing works has expected, so I am just wondering why I get this message and how I can get rid of it (and to be honest a bit afraid that maybe something is hanging in memory while application is running).

    The point is that I have this message exactly 5 times each time I exit my application. The only thing I am using is QtConcurrent::blockingMapped(), which is treating a QList with 4 items. And indeed if I remove the call to blockingMap(), I ends up with only one warning instead of five when exiting... no idea from where this last message is coming from...

    I am using qt5.3.2 on windows 7.

    I am expecting QtConcurrent::blockingMapped() to manage the threads and terminate them all automatically... Am I wrong and do I need to do something more?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QWaitCondition: Destroyed while threads are still waiting on application exit

    Show us the related code, please.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. QWaitCondition: Destroyed while threads are still waiting
    By TimShnaider in forum Qt Programming
    Replies: 1
    Last Post: 22nd July 2012, 02:07
  2. Replies: 1
    Last Post: 27th January 2011, 15:02
  3. Replies: 0
    Last Post: 15th April 2010, 13:44
  4. Replies: 0
    Last Post: 27th February 2010, 17:14
  5. Replies: 0
    Last Post: 8th June 2009, 08:12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.