Xref: utzoo comp.unix.questions:15300 comp.unix.wizards:17430 comp.sources.wanted:8290 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!ncar!ico!ism780c!scrooge!patrick From: patrick@scrooge.ism.isc.com (Patrick Curran) Newsgroups: comp.unix.questions,comp.unix.wizards,comp.sources.wanted,comp.unix.i386 Subject: Re: Shared Mem, Msg queues, Semaphores Code fragments wanted Keywords: IPC XENIX shared memory segments interprocess communication Message-ID: <30715@ism780c.isc.com> Date: 31 Jul 89 21:09:07 GMT References: <100@norsat.UUCP> Sender: news@ism780c.isc.com Reply-To: patrick@scrooge.ism.isc.com (Patrick Curran) Organization: Interactive Systems Corp., Santa Monica, CA Lines: 23 In article <100@norsat.UUCP> dave@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@ism780c.isc.com) (uunet!ism780c!patrick) INTERACTIVE Systems Corp, Santa Monica, CA. (213) 453-8649