Re: semaphores
[email protected] (Graham Barr)
| Newsgroups | perl.loop |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Apr 19, 2000 at 10:21:53PM -0400, Joshua Pritikin wrote: > 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. > I would agree that maybe they do not belong in the main distribution, but maybe in a separate dist of rarly used watchers. > Graham, I still have an old non-working pm file in the demo directory > that implemented semaphores for Event. non-working ? what broke. Graham. -- For myself I am an optimist--it does not seem to be much use being anything else. -- Winston Churchill