This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: mmap() support W95/NT in b18
- To: Kenneth Osterberg <lmfken at lmf dot ericsson dot se>
- Subject: Re: mmap() support W95/NT in b18
- From: "Lassi A. Tuura" <lat at iki dot fi>
- Date: Thu, 22 Jan 1998 14:23:39 +0100
- CC: gnu-win32 at cygnus dot com
- Organization: CERN, European Laboratory for Particle Physics
- References: <199801201105.NAA22856@umail.lmf.ericsson.se>
Kenneth Osterberg wrote:
> On WindowsNT (3.51), it fails with errno=13 (Permission denied).
It seems that mmap always fails on NT if the file has been opened by
some other process. I suppose it has something to do with the file
sharing options, which probably default to no sharing at all. For
instance, I do not know if it is possible to mmap the same file into two
processes simultanously; perhaps somebody wiser than me can tell. You
may want to check that this is not the cause for your problems.
Cheers,
//lat
--
Lassi.Tuura@cern.ch There's no sunrise without a night
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".