benilla-re systems structs docs

s_slots

global · core

Address
0x883f18 · 4 bytes, up to 0x883f1b
Type
void **
Meaning
Holds the slot record pointer of each slot
Confidence
verified, proof two
Finding
core/loop#shutdown-event

Finding: Shutdown event in core: the frame loop

0x422030 sets the shutdown event 0x883f24 and the event of every slot, so a sleeping loop wakes, finds the shutdown event set and leaves. Three paths call it: an accepted quit from the window input, the last interactive context's teardown, and a window close the confirm-close query allows. The query, 0x423b50, answers 1 when no callback is installed, else the callback's answer; a nonzero answer is what allows the close.

The derivation is in the doc.