/**
* Called by the VM heartbeat if installed, to check for the presence of events.
*/
static void ioCheckForEvents() {
if (inited) {
SDL_PumpEvents();
if (SDL_HasEvents(SDL_FIRSTEVENT, SDL_LASTEVENT)) {
interpreterProxy->signalSemaphoreWithIndex(inputSemaphoreIndex);
}
}
}
void setSDL2InputSemaphoreIndex(int semaIndex) {
inited = 1;
inputSemaphoreIndex = semaIndex;
setIoProcessEventsHandler(&ioCheckForEvents);
}
and they are used to replace the event handling the world uses��� something that you cannot do at this moment because I did not integrate that chunk yet :)
So you should not need it��� for now.
ps: btw��� this kind of questions are not for regular users but for pharo developers (because you are playing with something that is or will be part of pharo it self), so I���m redirecting this question there.