[Win32utils-devel] Need some help with latest win32-mmap

Berger, Daniel Daniel.Berger at qwest.com
Thu Oct 12 09:41:11 EDT 2006


> -----Original Message-----
> From: win32utils-devel-bounces at rubyforge.org 
> [mailto:win32utils-devel-bounces at rubyforge.org] On Behalf Of 
> Johan Nilsson
> Sent: Thursday, October 12, 2006 12:46 AM
> To: Development and ideas for win32utils projects
> Subject: Re: [Win32utils-devel] Need some help with latest win32-mmap
> 
> 
> 
> >	From: win32utils-devel-bounces at rubyforge.org
> [mailto:win32utils-devel-bounces at rubyforge.org] On Behalf Of 
> Heesob Park
> >	Sent: den 12 oktober 2006 03:09
> >	To: Development and ideas for win32utils projects
> >	Subject: Re: [Win32utils-devel] Need some help with latest
> win32-mmap
> >	
> 
> [snip]	
> 
> 	 
> >	It seems the memory map in windows aligns 4k boundary.
> >	When created with 20, get_view_size returns 4096
> >	When created with 20000, get_view_size returns 20480.
> 
> Actually, it aligns to the nearest page boundary (which is 
> not necessarily 4k). Use GetSystemInformation to retrieve 
> SYSTEM_INFO (dwPageSize member).

Right, I'll note that in the docs, thanks.

- Dan


This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly 
prohibited and may be unlawful.  If you have received this communication 
in error, please immediately notify the sender by reply e-mail and destroy 
all copies of the communication and any attachments.


More information about the win32utils-devel mailing list