From owner-freebsd-hackers Thu Feb 11 14:00:07 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA24417 for freebsd-hackers-outgoing; Thu, 11 Feb 1999 14:00:07 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from apollo.backplane.com (apollo.backplane.com [209.157.86.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA24391 for ; Thu, 11 Feb 1999 14:00:05 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.2/8.9.1) id NAA95236; Thu, 11 Feb 1999 13:59:52 -0800 (PST) (envelope-from dillon) Date: Thu, 11 Feb 1999 13:59:52 -0800 (PST) From: Matthew Dillon Message-Id: <199902112159.NAA95236@apollo.backplane.com> To: Terry Lambert Cc: peter.jeremy@auss2.alcatel.com.au (Peter Jeremy), tlambert@primenet.com, hackers@FreeBSD.ORG Subject: Re: portability of shm, mmap, pipes and socket IPC References: <199902112119.OAA10970@usr06.primenet.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :What about a negative initial value setting? : :I used this technique on UnixWare to implement an RPC interlock :mechanism that involved setting things up in shared memory in one :process, and processing in another; roughly, the following states: : : : 99> ,----. : | | : | | : ,----' | : ,----. | | : | | | | : | | | | : 0> | | | | : | `----' | : | | : | | :-99> ----' `----- : listen call reset : setup return : :I had to implement it a different way on FreeBSD because the What does POSIX have to say about it? -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message