Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Mon, 25 Jun 2001 15:35:14 -0400
From: Christopher Faylor <cgf@redhat.com>
To: cygwin@cygwin.com
Subject: Re: mmap not share
Message-ID: <20010625153514.E12392@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <01C0FDB8.43518680.dfreyer@telecom.insa-lyon.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
In-Reply-To: <01C0FDB8.43518680.dfreyer@telecom.insa-lyon.fr>; from dfreyer@telecom.insa-lyon.fr on Mon, Jun 25, 2001 at 08:48:59PM +0200

On Mon, Jun 25, 2001 at 08:48:59PM +0200, Dirk Freyer wrote:
>Under Linux this file works fine. Two tasks increments one counter :-)
>With Windows 98 i have the problem that the two tasks increments two counters :-(
>
>Why ???

The underlying Windows mechanisms that Cygwin uses to emulate mmap are seriously
flawed on Windows 9x.  So, it is possible that it isn't possible to do what
you need done.  Or, it is possible that we missed something and that this is
an implementation bug.

I don't know which this is and the person responsible for this code is on vacation
(Corinna Vinschen <cygwin@cygwin.com>) so it will be a while before any answer
is available unless someone else wants to look at the code.

The code in question is in mmap.cc.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

