Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!swrinde!ucsd!mvb.saic.com!ncr-sd!serene!briand From: briand@rfengr.com (Brian Dear) Newsgroups: comp.os.mach Subject: shared memory in Mach? (Esp. for NeXT) Message-ID: <1991Feb21.072121.24132@rfengr.com> Date: 21 Feb 91 07:21:21 GMT Reply-To: brian@coconut.com Organization: Coconut Computing, Inc., La Jolla, California Lines: 24 Forgive me if this is a stupid question. Here goes: My first exposure to Mach is via the NeXT machine. One thing I was disappointed to discover was that with NeXT's OS, there is no support for "shared memory" operations such as System V's shmget(), shmat(), and shmdt(). Does anyone know if a simple way to implement the equivalent of AT&T System V shared memory in a Mach-style environment? Mach is supposed to be quite powerful with regard to interprocess communication. What's the *easiest* way to have two unrelated processes share a chunk of memory by attaching it to their address space and reading/writing it? Assume the processes are not children of each other. I want one process to be able to communicate with a completely unrelated process using the fastest method possible (which I assume would be some direct memory operation). Any suggestions welcome. If you would like to respond via e-mail, please reply to: brian@coconut.com Thanks! Brian Dear brian@coconut.com Coconut Computing, Inc. Brought to you by Super Global Mega Corp .com