Multithreaded Squeak
Martin Drautzburg
martin.drautzburg at web.de
Wed Nov 27 15:05:18 UTC 2002
goran.hultgren at bluefish.se writes:
> "...is because processes are partially preemptive. A running process
> will not be interrupted by another process of equal or lesser priority.
> A process will keep running until it does a time consuming operation
> such as waiting on a socket read or on an instance of Delay, or the
> process explicitly gives up control, or a higher priority process is
> ready to run."
Does that mean if all a process does it loop, then there is no way to
interrupt it ? If I run
[true] whileTrue: [nil]
it locks up the UI but I can still gain control with Alt-.
More information about the Squeak-dev
mailing list
|