Results 1 to 2 of 2

Thread: set list of Qfutures to QFutureWatcher and get to know when all the threads finished

  1. #1
    Join Date
    Jun 2015
    Location
    India
    Posts
    185
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    8
    Thanked 14 Times in 14 Posts

    Default set list of Qfutures to QFutureWatcher and get to know when all the threads finished

    Is it possible to add multiple QFuture's to QFutureWatcher.
    I wanted to add multiple Qfutures to QFutureWatcher and get notified when all the threads finished.

    QFutureSynchronizer did not help me as it dont have a signal to finished.

    Currently I am tracking all the futures(maintaining list of futures) and doing the things, i am just looking if there is a straight way to do it.
    Last edited by prasad_N; 29th June 2015 at 10:44.
    Thanks :-)

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts

    Default Re: set list of Qfutures to QFutureWatcher and get to know when all the threads finis

    No, but you can create any number of future watchers.

    Cheers,
    _

Similar Threads

  1. Cleaned event list of main app, when qprocess finished.
    By alnorte in forum Qt Programming
    Replies: 2
    Last Post: 1st March 2013, 11:53
  2. QFutureWatcher doesn't get finished signal
    By Mobility in forum Newbie
    Replies: 3
    Last Post: 20th September 2012, 10:25
  3. QFutureWatcher finished() signal not working
    By DiamonDogX in forum Qt Programming
    Replies: 13
    Last Post: 25th October 2011, 19:27
  4. QFutureWatcher finished without even starting a QFuture...
    By Zweistein in forum Qt Programming
    Replies: 0
    Last Post: 22nd September 2011, 15:30
  5. Replies: 3
    Last Post: 13th July 2011, 09:24

Tags for this Thread

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.