Shared memory (shm) - a safe way to pick ids?

Chip Salzenberg chip at tct.uucp
Thu Dec 13 10:06:27 AEST 1990


According to benson at odi.com (Benson I. Margulies):
>I'm on the verge of coding a simple use of the shm system call
>family on a system that dosen't supply the more modern mapping 
>calls.

System V IPC keys are Evil and Rude.  Don't use them.  Specify
IPC_PRIVATE as the key, then store the id in a place known to your
application.
-- 
Chip Salzenberg at Teltronics/TCT     <chip at tct.uucp>, <uunet!pdn!tct!chip>
"What's that thing, when people die, they take apart the body to see why?"
	       -- St. Theresa of the Net



More information about the Comp.unix.internals mailing list