Hello everyone,
I would like to talk a bit about the way OSWindow makes events available for the user.
Currently, a dedicated process with a priority of 60 gets SDL events, converts them into OSWindow events and then makes them available to the user via the OSWindowEventVisitor.
Now my concern is that, by default, it is this same process that executes actions specified by the user. (Actually every event is forked to be executed in its own thread but with the same priority of 60 so as Pharo scheduler is not pre emptive it does not change the execution order)
So basically, all the operations made in the main thread will be interrupted by the operations made in the event thread since the event thread has a higher priority.