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

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

comment:2 Changed 15 years ago by Silvan Scherrer

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

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 Changed 14 years ago by Silvan Scherrer

Severity: low

comment:5 Changed 11 years ago by Silvan Scherrer

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 Changed 7 years ago by Silvan Scherrer

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

comment:7 Changed 6 years ago by Silvan Scherrer

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.