Critical section lockup -djb

Derek Brans brans at nerdonawire.com
Sat Aug 2 22:42:02 UTC 2003


Hi Ned,

The timeouts in Nethaniel's code relate to waiting.  I think I need to
timeout the process that's holding up the critical section and get it to
signal an error.  Does that make sense?


> On Friday 01 August 2003 07:31 pm, Derek Brans wrote:
> > I> If you happen to call this from a Process that's already gotten
> > the
> >
> > > semaphore, you'll block that process. Which is probably not what
> > > you want.
> >
> > I've been careful to avoid that.
> >
> > > You should look at Nathanael's Monitor class; it lets you have
> > > timeouts and not worry about the same Process obtaining the lock
> > > multiple times.
> >
> > Fabulous.  Don't see "Monitor" in the image or on SM.  Is that the
> > same as WAProcessMonitor?
>
> You can get to it via Nathanael's Smalltalk page:
> http://www.iam.unibe.ch/~schaerli/smalltalk/
>
> --
> Ned Konz
> http://bike-nomad.com
> GPG key ID: BEEA7EFE
>
>
>




More information about the Squeak-dev mailing list