delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/25/20:18:57

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <033501c0fdd1$87ab0c20$0200a8c0@lifelesswks>
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: <dfreyer AT telecmon DOT insa-lyon DOT fr>,
"Brian Michael Genisio" <genisiob AT pilot DOT msu DOT edu>
Cc: <cygwin AT sources DOT redhat DOT com>
References: <200106251947 DOT f5PJl3j26688 AT pilot24 DOT cl DOT msu DOT edu>
Subject: Re: mmap not share
Date: Tue, 26 Jun 2001 09:49:52 +1000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-OriginalArrivalTime: 25 Jun 2001 23:38:10.0881 (UTC) FILETIME=[E5060B10:01C0FDCF]

----- Original Message -----
From: "Brian Michael Genisio" <genisiob AT pilot DOT msu DOT edu>
To: <dfreyer AT telecmon DOT insa-lyon DOT fr>
Cc: <cygwin AT sources DOT redhat DOT com>
Sent: Tuesday, June 26, 2001 5:47 AM
Subject: Re: mmap not share


>
> Dirk,
> This mmap thing is annoying... not only because mmap does not sync
correctly,
> but because the cygipc shared memory interface uses mmap to do it's
> dirtywork... so mmaped files AND shm do not work correctly!!!!
>
> This racked my brain for a long while, until I created a workaround...
If I
> wanted to re-read the mmapped file, I had to unmap, and re-map... I
created a
> function I called mmap_sync (instead of calling msync, which does not
work
> either) and I put the unmap and map again in it... It created a lot of
needless
> overhead, but it was all I could think of to work around it...
>
> I hope I was of some help, and please tell me if you figure it out.
> Brian
>

Brian, have you considered fixing this in cygwin1.dll, not in cygipc?
That way your workaround would allow everyone access. (I suspect your
workaround isn't the appropriate fix, but nevertheless)..

Rob


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

- Raw text -


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