[Vm-dev] #ifCurtailed: multi-thread semantics

Denis Kudriashov dionisiydk at gmail.com
Mon Feb 22 15:47:20 UTC 2016

2016-02-22 16:08 GMT+01:00 Ben Coman <btc at openinworld.com>:

> ...why does the curtailed block execute in outside thread rather than
> the middle thread which still exists?
> Also interesting is that if the curtailed code contains a wait, it
> blocks the whole UI.

It's because curtailed block is executed explicitly inside process
termination method in context of current process. In your example you call
it from workspace UI. And it blocks it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20160222/1f7ba94b/attachment.htm

More information about the Vm-dev mailing list