[net.unix-wizards] Sys V IPC

hope@gatech.CSNET (Theodore Hope) (02/08/86)

I have been reading the documentation for the Sys V IPC stuff (msg, shm)
and it is not exactly crystal-clear (no kidding!)  Could anyone please provide
me (and the net community) with one or several examples of message-passing
between cooperating processes?

Thanks in advance.
-- 
Theodore Hope
School of Information & Computer Science, Georgia Tech, Atlanta GA 30332
CSNet:	hope@gatech		ARPA:	Hope%GATech.CSNet @ CSNet-Relay.ARPA
uucp:	...!{akgua,allegra,amd,hplabs,ihnp4,seismo,ut-sally}!gatech!hope

ijk@hropus.UUCP (Ihor J. Kinal) (02/11/86)

I've found Chapter 7 of Marc J. Rochkind's text to be EXCELLENT
and UNDERSTANDABLE on this subject (and the rest of the book is 
darn good as well). Cost is about $30.

  Once you read that, then try 
AT&T 3B2 Computer UNIX(TM) System V Utilities- Volume 2 (305-506 Issue 1)
{These came with our 3b2-400; I'm not sure on how to obtain this
volume separately, nor its cost.}  This goes into everything at quite
gory detail, which is more or less understandable after reading Rochkind.

Ihor Kinal
ihnp4!houxm!hropus!ijk

P.S.  Just because I'm a contractor at Bell Labs, don't assume I
	speak for anyone, or even understand IPC after reading the above.
	I just believe that I'm now less confusd,er confuseed, er #@$@#%$%$%^..

latham@bsdpkh.UUCP (Ken Latham) (02/11/86)

> I have been reading the documentation for the Sys V IPC stuff (msg, shm)
> and it is not exactly crystal-clear (no kidding!).....

... opaque is the word .....

> .......  Could anyone please provide
> me (and the net community) with one or several examples of message-passing
> between cooperating processes?
> 

	You would be better off to obtain a copy of the IPC manual that comes
with SYSVR2.  It contains several examples utilizing EVERY call, and gives very
lucid descriptions of how they are used.   A posting to the net ( usually from
 unqualified sources :-> ) would only tend to make IPC more unclear.

> Thanks in advance.

	Your welcome!



  Concerning those who have a great deal of experience:

		" There are those who have many experiences...
		  and those who have a few experiences many times."
_______________________________________________________________________________
|                             |                                               |
|     Ken Latham              |     uucp: ihnp4!bsdpkh!latham                 |
|     AT&T-IS (via AGS Inc.)  |     uucp: {ihnp4!decvax,peora}!ucf-cs!latham  |
|     Orlando , FL            |     arpa: latham.ucf-cs@csnet-relay           |
|     USA                     |     csnet:latham@ucf                          |
|_____________________________|_______________________________________________|
-- 

  Concerning those who have a great deal of experience:

		" There are those who have many experiences...
		  and those who have one experience many times."
_______________________________________________________________________________
|                             |                                               |
|        Ken Latham           |     uucp: ihnp4!bsdpkh!latham                 |
|        AT&T-IS              |     uucp: {ihnp4!decvax,peora}!ucf-cs!latham  |
|        Orlando , FL         |     arpa: latham.ucf-cs@csnet-relay           |
|        USA                  |     csnet:latham@ucf                          |
|_____________________________|_______________________________________________|