benilla-re systems structs docs

s_slotLock

global · core

Address
0x883ef4 · 24 bytes, up to 0x883f0b
Type
uint8_t[24]
Meaning
Holds the critical section guarding the slots
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.