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

Qt 5: aynchronous I/O for files

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • P3: Somewhat important
    • Some future release
    • None
    • Core: I/O
    • 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

              Eddy Edward Welbourne
              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