Details
-
Suggestion
-
Resolution: Won't Do
-
P3: Somewhat important
-
None
-
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
- is required for
-
QTBUG-23601 QFile::copy interrupting
-
- Reported
-
- relates to
-
QTBUG-71036 Qt Core Changes in Qt 6
-
- Closed
-
-
QTBUG-19944 Adopt libuv for high performance asynchronous I/O API, possibly even the core event loop
-
- Reported
-