[BUG] self halt

Andreas Raab andreas.raab at gmx.de
Tue Jun 1 19:36:22 UTC 2004


> > The immediate fix is to withdraw the update but I suspect a proper fix
> > is a bit more complex.

Probably not. Just change one line in primitiveYield from:

    (self isEmptyList: processList) ifFalse:[
        self addLastLink: activeProc toList: processList.
        self wakeHighestPriority]

to:

    (self isEmptyList: processList) ifFalse:[
        self addLastLink: activeProc toList: processList.
        self transferTo: self wakeHighestPriority]
        ^^^^^^^^^^^^^^^^

and all should be fine.

Cheers,
  - Andreas




More information about the Squeak-dev mailing list