Process>>#terminate is quite a dangerous method, since
it may leave
shared data structures partially updated. Of course, in
general the
programmer is simply using the rope it's been given to hang
itself. But
in the case of system data structures such as the delay
queue, we'd
better make sure they're updated atomically. To do so, this
patch moves
all handling of the delay queue into the same process that
handles
timing signals. Again, something similar has been done in
Squeak
recently by Andreas Raab, though the actual code is
different.
Paolo
_______________________________________________
help-smalltalk mailing list
help-smalltalk gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
|