www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1999/07/26/12:19:11

Date: Mon, 26 Jul 1999 09:16:42 -0700 (PDT)
From: "Gordon K. Stone" <gordon AT Aptech DOT com>
Message-Id: <199907261616.JAA00693@boaz.com>
To: pgcc AT delorie DOT com
Subject: mmap
X-Sun-Charset: US-ASCII
Reply-To: pgcc AT delorie DOT com

I have a program in which a number of executables use an mmap'ed file
to share memory. This used to work fine, but we updated to Redhat ver
5.2, and now the changes made by one process are no longer seen by the
others.

I am using the MAP_FIXED flag--the mmap'ed memory contains absolute
pointers.

The program has two possible interfaces, an X interface and a console
interface. Everything appears to work okay when using the X interface.
It's under the console interface that the problem appears.

Any ideas? Is mmap() different?

Sincerely


Gordon Stone
Technical Support
Aptech Systems, Inc
23804 S.E. Kent-Kangley RD
Maple Valley, WA 98038
425-432-7855 voice
425-432-7832 fax
gordon AT aptech DOT com

- Raw text -


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