Some feedback
Ned Konz
ned at bike-nomad.com
Fri Jul 20 15:53:24 UTC 2001
On Thursday 19 July 2001 08:29 pm, you wrote:
> (3) I use lots of background processes, and like to name them. It
> would be nice to have a #name[:] aspect of Process rather than
> having to externally assign names as is done in the
> ProcessBrowser.
So subclass Process. Or extend Process to get a name out of a global
somewhere. Change ProcessBrowser>>prettyNameFor: to use the name if it's
available.
> Inspect the result of:
> | mutex |
>
> mutex := Semaphore forMutualExclusion.
> [
> mutex critical:[ nil error:'Take this' ].
> ] on:Error do:[ :e | ].
> mutex.
>
> and note that after the error, the sempahore has zero excess
> signals. Would it be better to define #critical: in terms of
> #critical:ifError:, perhaps like this:
>
> critical:aBlock
> ^self critical:aBlock ifError:[ :x :y | self error:x ].
I believe a fix was posted for this recently on the list.
--
Ned Konz
currently: Stanwood, WA
email: ned at bike-nomad.com
homepage: http://bike-nomad.com
More information about the Squeak-dev
mailing list
|