|Re: [platform-ui-dev] Question regarding DelayedEventsProcessor|
When you look now into the implementation of DelayedEventsProcessor#
openFile you see that the complete work is done inside a “display.asyncExec”. I wonder why this is done.
aynchExec puts the runnable at the end of the UI queue and executes the work in the UI thread. But we are currently in the UI Thread and we got called because no other stuff needs to be done in the UI queue. So I would say we don’t need that “asynchExec” here. Or do I overlook something?
Back to the top