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 Dmitry A. Kuminov, 15 years ago

Summary: QFSFileEngine: Implement memory mapped files on OS/2QFSFileEngine: Implement memory mapped files

comment:2 by Silvan Scherrer, 15 years ago

i'm not sure if it helps or not, but Yuri did also a implementation of map(). see http://web.os2power.com/yuri/MemoryMappedFiles

comment:3 by Dmitry A. Kuminov, 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 Silvan Scherrer, 15 years ago

Severity: low

comment:5 by Silvan Scherrer, 11 years ago

Severity: lowmedium

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 Silvan Scherrer, 8 years ago

all the above comments are mostly obsolete now. we should definitely use libcx for it.

comment:7 by Silvan Scherrer, 6 years ago

Milestone: Qt EnhancedQt 5
Resolution: fixed
Status: newclosed

This is done in Qt5. No plans to resolve it for Qt4

Note: See TracTickets for help on using tickets.