mmap not share
Mon Jun 25 16:47:00 GMT 2001
----- Original Message -----
From: "Brian Michael Genisio" <firstname.lastname@example.org>
Sent: Tuesday, June 26, 2001 5:47 AM
Subject: Re: mmap not share
> This mmap thing is annoying... not only because mmap does not sync
> 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...
> wanted to re-read the mmapped file, I had to unmap, and re-map... I
> function I called mmap_sync (instead of calling msync, which does not
> either) and I put the unmap and map again in it... It created a lot of
> 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, 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)..
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin