nil in SuspendedDelays???

Cees De Groot cdegroot at gmail.com
Wed Feb 1 21:53:51 UTC 2006


On 2/1/06, Cees De Groot <cdegroot at gmail.com> wrote:
> If you look at it, there's one funny thing. I added an #on:do: handler
> around the actual addition to the "SuspendedDelays add:..." bit in
> Delay>>schedule:
>
Not funny at all. Just my stupidity - there are two calls to #add: in
that method, I protected only one.

On IRC, Jecel Assumpção remarks that the Semaphore in both cases is
'in rest' - excessSignals is 1, where 0 would be expected when the
critical section is active. And -1 when two critical sections are
active :-)



More information about the Squeak-dev mailing list