Opened 15 years ago
Closed 6 years ago
#25 closed enhancement (fixed)
QFSFileEngine: Implement memory mapped files
Reported by: | Dmitry A. Kuminov | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | Qt 5 |
Component: | QtCore | Version: | 4.5.1 Beta 1 |
Severity: | medium | Keywords: | |
Cc: |
Description
Adding support for memory mapped files (QAbstractFileEngine::map() and unmap() methods of QFSFileEngine) includes implementing QFSFileEnginePrivate::map() and unmap() methods in qfsfileengine_os2.cpp.
A good article on implementing memory mapped files on OS/2 can be found in EDM: http://www.edm2.com/0610/memorymap.html
Change History (7)
comment:1 by , 15 years ago
Summary: | QFSFileEngine: Implement memory mapped files on OS/2 → QFSFileEngine: Implement memory mapped files |
---|
comment:2 by , 15 years ago
comment:3 by , 15 years ago
Aha, as Yuri says, it's a wrapper around WPSTK mmf functions. I may guess that WPSTK uses the approach described in the above EDM article. Anyway, thank you for the link, I'll check the sources when it's time to implement this.
comment:4 by , 15 years ago
Severity: | → low |
---|
comment:5 by , 11 years ago
Severity: | low → medium |
---|
the memory mapped files implementation is since longer at netlabs svn. see http://svn.netlabs.org/ports for the source. we should try to use that. and if stuff is missing is should be implemented there. so we have a good and usable map() unmap() implemantation.
comment:6 by , 8 years ago
all the above comments are mostly obsolete now. we should definitely use libcx for it.
comment:7 by , 6 years ago
Milestone: | Qt Enhanced → Qt 5 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
This is done in Qt5. No plans to resolve it for Qt4
i'm not sure if it helps or not, but Yuri did also a implementation of map(). see http://web.os2power.com/yuri/MemoryMappedFiles