benilla-re systems structs docs

DestroyContextTable

function · core · orchestration

Address
0x4208c0 · 190 bytes, up to 0x42097d
Signature
void __cdecl (void)
Meaning
Unlinks every context table entry and destroys the bucket and table locks once
Confidence
verified, proof two
Finding
core/loop#static-initializers

Finding: Static initializers in core: the frame loop

The scheduler's object files run 12 static initializers from the C runtime table. Each file copies +∞ into a global and stores 2π and 1/2π as floats, as every object file using the shared maths header does. The others build the context table 0xcf7700, the slot list 0x883ee8, the events 0x883ec4 and 0x883f24, the slot lock and the thread array (Slot lock and thread array), each registering a matching destructor with _atexit.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 3

Calls and jumps by a bare address, from tables/calls.tsv.