System V message queues?

Mark Blumhardt blum at drutx.ATT.COM
Tue Feb 28 00:57:47 AEST 1989


In article <561 at pvab.PVAB.SE>, robert at 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



More information about the Comp.unix.questions mailing list