[Vm-dev] #ifCurtailed: multi-thread semantics
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...
More information about the Vm-dev