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

Timeout wanted for QMetaObject::invokeMethod with Qt::BlockingQueuedConnection

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • 5.1.1
    • Core: Event loop
    • None

    Description

      It would be really nice if QMetaObject::invokeMethod would have a timeout parameter for the case when it is invoked with Qt::BlockingQueuedConnection.
      It would help in avoiding deadlocks in different concurrency scenarios, but would also be useful in cases when if an operation cannot be completed fast, we don't even want to execute it any more (like rendering requests?).

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            mbardos76 Marton Bardos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes