Re: semaphores

[email protected] (Joshua N Pritikin)
Newsgroups perl.loop
Message-ID <[email protected]>
On Wed, Apr 19, 2000 at 11:52:28PM +0100, [email protected] wrote:
> On Wed, Apr 19, 2000 at 03:51:09PM -0400, Joshua Pritikin wrote:
> > On Wed, Apr 19, 2000 at 03:30:06PM -0400, Joshua N Pritikin wrote:
> > > Since no one replied, I think I'm going to try POSIX semaphores.  They
> > > are "newer" and "less complicate" according to Stevens.
> > 
> > Oh, wait!  Graham wrote IPC::Semaphore way back in 1997...  Hm.
> 
> I did, but I cannot remember what I did now.

It turned out that semaphores were easier than I expected.  Now that I
understand them, I'm even more skeptical that they belong in Event.  I'm
not saying that I would reject an implementation, but they seem like too
specialized a mechanism for commonplace Event'ing.

Graham, I still have an old non-working pm file in the demo directory
that implemented semaphores for Event.

-- 
"Never ascribe to malice that which can be explained by stupidity."
                           via, but not speaking for Deutsche Bank
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.