delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/01/23/19:21:59

From: lat AT iki DOT fi (Lassi A. Tuura)
Subject: Re: mmap() support W95/NT in b18
23 Jan 1998 19:21:59 -0800 :
Message-ID: <34C7485B.D00468A1.cygnus.gnu-win32@iki.fi>
References: <199801201105 DOT NAA22856 AT umail DOT lmf DOT ericsson DOT se>
Mime-Version: 1.0
To: Kenneth Osterberg <lmfken AT lmf DOT ericsson DOT se>
Cc: gnu-win32 AT cygnus DOT com

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 DOT Tuura AT cern DOT ch          There's no sunrise without a night
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019