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

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

XMLWordPrintable

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

      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?).

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes