Path: utzoo!attcan!uunet!lll-winken!ames!nrl-cmf!ukma!rutgers!att!mtuxo!mtgzy!mtgzz!drutx!blum From: blum@drutx.ATT.COM (Mark Blumhardt) Newsgroups: comp.unix.questions Subject: Re: System V message queues? Summary: #define key Message-ID: <10492@drutx.ATT.COM> Date: 27 Feb 89 14:57:47 GMT References: <561@pvab.PVAB.SE> Organization: AT&T, Denver, CO Lines: 11 In article <561@pvab.PVAB.SE>, robert@PVAB.SE (Robert Claeson) writes: > But how > do I pass the queue id to the new process? I could probably use sema- > phores or shared memory for this, but how do I then pass the semaphore > id to the new process? Since my applications usually run on dedicated machines, I can choose the keys that I use. I just use a #define in a global header file. Each process can use that key and access that message queue. Mark Blumhardt