Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!asuvax!anasaz!bobm From: bobm@anasaz.UUCP (Bob Maccione) Newsgroups: comp.os.misc Subject: Re: QNX shared buffer. Message-ID: <2845@anasaz.UUCP> Date: 7 Aug 90 22:19:34 GMT References: <1990Aug7.105617.20133@ifi.uio.no> Reply-To: bobm@anasaz.UUCP (Bob Maccione) Organization: Anasazi, Inc. Lines: 28 In article <1990Aug7.105617.20133@ifi.uio.no> gisle@ifi.uio.no (Gisle Hannemyr) writes: > >I want to allocate a buffer that shall be used to share information between >several processes running on the same CPU. Each process will run for a >short time, but I want the common buffer to exist "forever". > >What I really want to do, is to write a program that mallocs some memory, >associate a name with it (so other processes can read it), and then dies, >leaving the malloced memory allocated and available for reads and writes >from other processes that knows its name. > why not make a small administrator that the other tasks can 'talk' to to exchange the data. The administrator wouldn't take any cpu time except when queried and then if you ever needed it on a network the code changes would be either a: invisable(sp) or b: real easy. NOTE: this doesn't mean it'll work with the new OS. That I don't know about. OBquestion: anybody go to the QNX90 ( I assume that it already happened ) ? any notes/news would be nice to see. I can't afford to call the BB and I noticed that 'they' dropped my login :( bob maccione