benilla-re systems structs docs

s_slotCount

global · core

Address
0x883f10 · 4 bytes, up to 0x883f13
Type
uint32_t
Meaning
Holds the number of scheduler slots, a power of two
Confidence
verified, proof one
Finding
core/loop#startup-and-shutdown

Finding: Startup and shutdown in core: the frame loop

WinMain's body calls the library four times. 0x41f550 with one thread and polling off sets up one scheduler slot; 0x41f5e0 creates the interactive context, with the start handler 0x402840 on category 7 and the stop handler 0x403640 on category 4, each at priority 1000.0; 0x41f5c0 runs the loop on the calling thread until shutdown; 0x41f5a0 frees the library. No other thread runs a loop.

The derivation is in the doc.