Opened 9 years ago

Closed 3 months ago

#25 closed enhancement (fixed)

QFSFileEngine: Implement memory mapped files

Reported by: dmik 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 9 years ago by dmik

  • Summary changed from QFSFileEngine: Implement memory mapped files on OS/2 to QFSFileEngine: Implement memory mapped files

comment:2 Changed 9 years ago by diver

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 9 years ago by dmik

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 9 years ago by diver

  • Severity set to low

comment:5 Changed 5 years ago by diver

  • Severity changed from low to 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 Changed 22 months ago by diver

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

comment:7 Changed 3 months ago by diver

  • Milestone changed from Qt Enhanced to Qt 5
  • Resolution set to fixed
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.