[issue12562] calling mmap twice fails on Windows

Piotr Zolnierczuk report at bugs.python.org
Mon Aug 1 16:38:57 CEST 2011


Piotr Zolnierczuk <piotr.zolnierczuk at gmail.com> added the comment:

Just looked into my "partner" C++ code and he's using it very much like in Python 2.5:

m_obj->map_handle = CreateFileMapping (INVALID_HANDLE_VALUE,
NULL,								PAGE_READWRITE,										 0,
pageSize,										 tagName);

m_obj->data = (char *) MapViewOfFile (m_obj->map_handle,								  FILE_MAP_ALL_ACCESS,										  0,										  0,									  0);

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12562>
_______________________________________


More information about the Python-bugs-list mailing list