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

[QThreadPool] chrono types for timeouts

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • Not Evaluated
    • 6.8.0 FF
    • None
    • Core: Threads
    • None
    • Won't do for setExpiryTimeout because it's a Q_PROPERTY thus it has a getter. It's not used frequently enough.

    • 179e79b18 (dev), 1f2a230b8 (dev)

    Description

      there are several APIs that use `int msec` arguments. it would be great to have std::chrono based variants, as strong types result in more robust application code

      QThreadPool::waitForDone
      QThreadPool::setExpiryTimeout
      

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            timblechmann tim blechmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes