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

Qt 5: aynchronous I/O for files

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Won't Do
    • Icon: P3: Somewhat important P3: Somewhat important
    • Some future release
    • None
    • Core: I/O
    • None

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes