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

Qt 5: aynchronous I/O for files

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: Some future release
    • Component/s: Core: I/O
    • Labels:
      None

      Description

      The QFile API is fine for fast local filesystems (e.g. hard drive on a desktop), but can block the thread for some time when used on a slow filesystem.
      For example, mounted network drives in desktops or MMC cards in mobile phones can sometimes take a long time to complete an I/O request.

      Unix has non blocking mode + select()
      Windows has "overlapped IO"
      Symbian (if it gets a Qt5 port) has active objects.

      Each case works well with the event dispatcher for the OS in question, so it's mainly a question of having a good API.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              Eddy Edward Welbourne
              Reporter:
              shkearns Shane Kearns
              Votes:
              14 Vote for this issue
              Watchers:
              16 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes