Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!dimacs.rutgers.edu!seismo!uunet!samsung!noose.ecn.purdue.edu!orchestra.ecn.purdue.edu!songer From: songer@orchestra.ecn.purdue.edu (Christopher M Songer) Newsgroups: comp.sys.next Subject: NeXT equivalent of Shared Memory and Semaphores on SysV Summary: How to share memory between processes, etc. Keywords: Shared Memory Message-ID: <1991Feb21.152540.10679@noose.ecn.purdue.edu> Date: 21 Feb 91 15:25:40 GMT Sender: root@noose.ecn.purdue.edu (ECN System Management) Distribution: usa Organization: Purdue University Engineering Computer Network Lines: 16 Hi, I'm looking to port a SysV piece of code. The code uses shared memory extensively. Can memory be shared between processes on the NeXT, and if so, how? I RTFM and it seemed to imply that memory can only be shared when there is a parent - child relationship between processes. This is not good enough. Nowhere, however, did it say: "Memory cannot be shared between arbitrary processes on the NeXT computer." So, I figured I'd ask before scrapping whole boatloads of code. Other questions: is a mutex the best equivalent of a semaphore in SysV? Assuming there is no shared memory, what would you reccomend as a method to emulate or replace it? Thanks! -Chris Brought to you by Super Global Mega Corp .com