Tricky question :) In theory, just doing #startUp should be enough. But! Digging a bit you see that this code depends on the ExternalSemaphoreTable which uses an array of semaphores in the special objects array. unprotectedExternalObjects ^Smalltalk specialObjectsArray at: 39 So, before being able to work, the array at index 39 should be initialized. Which in theory can be done with ExternalSemaphoreTable>>clearExternalObjects "Clear the array of objects that have been registered for use in non-Smalltalk code." "Only lock additions, removals executing in parallel would have little effect on the resulting array" ProtectAdd critical: [ self unprotectedExternalObjects: Array new]. Tell me if that works, Guille
On 16 nov 2015, at 4:00 p.m., Christophe Demarey <Christophe.Demarey@inria.fr> wrote:
Hi,
I'm working on the new startup/shutdown mechanism and I came to discover InputEventFetcher.
What are the instruction to properly initialize / re-initialize the InputEventFetcher ? I tried InputEventFetcher deinstall; install and InputEventFetcher shutDown; deinstall; install; startUp
but both end to an image not responding to mouse / keyboard events.
Thanks for any help, Christophe