Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-7127

QtConcurrent::run() doesn't handle QtConcurrent::Exception(s)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 4.8.0
    • 4.7.0
    • Core: QtConcurrent
    • None
    • 98d51e42c81c0674bc724eccbdf8521d9317998a

      When exception is thrown from QtConcurrent::run(), the following warning is displayed:

      "Qt Concurrent has caught an exception thrown from a worker thread.
      This is not supported, exceptions thrown in worker threads must be
      caught before control returns to Qt Concurrent."

      The exceptions could be handled in the same way as in the other QtConcurrent functions such as QtConcurrent::map.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            sorvig Morten Sørvig
            mpejcoch Martin Pejcoch (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes