Shared Mem, Msg queues, Semaphores Code fragments wanted

Patrick Curran patrick at scrooge.ism.isc.com
Tue Aug 1 07:09:07 AEST 1989


In article <100 at norsat.UUCP> dave at norsat.UUCP (Dave Binette) writes:
>An upcoming project requires some efficient interprocess communications
>to be developed using XENIX 386's V2.3.1
>
>Since my working knowledge of IPC's is a small subset of total ignorance,
>I could really use (and appreciate) code fragments incorporating any of
>the following:
>msgctl(S)   msgget(S)   msgop(S)
>semctl(S)   semget(S)   semop(S)
>shmctl(S)   shmget(S)   shmop(S)
>ipcs(C)     ipcrm(C)
>

The "AT&T UNIX System V/386 Programmer's Guide" has a whole chapter on
IPCs.  This includes full listings of test programs that exercise all
aspects of the IPC system calls.  I haven't tried them, but they look
pretty good.  I think you'll find them a great help.

Of course, XENIX is not UNIX...

Patrick Curran (patrick at ism780c.isc.com)
(uunet!ism780c!patrick)
INTERACTIVE Systems Corp, Santa Monica, CA. (213) 453-8649



More information about the Comp.unix.questions mailing list