From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ronald G Minnich To: <9fans@cse.psu.edu> Subject: Re: [9fans] semaphores In-Reply-To: <20020116035456.13985.qmail@g.bio.cse.psu.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Wed, 16 Jan 2002 08:47:11 -0700 Topicbox-Message-UUID: 3e2ed856-eaca-11e9-9e20-41e7f4b1d025 On Tue, 15 Jan 2002, Scott Schwartz wrote: > A previous edition's malloc used a pipe with a byte in it as a semaphore. > I thought that was a lovely solution, given shared file descriptors. those are great if you have a long time to wait, I use them too. But memory-based ones like Russ posted are also mighty handy! ron