benilla-re systems structs docs

s_asyncReaderThread

global · client

Address
0x885694 · 4 bytes, up to 0x885697
Type
void *
Meaning
Holds the handle of the reader thread
Confidence
verified, proof one
Finding
glue/enterworld#starting-the-reader

Finding: Starting the reader in glue: entering and leaving the world

0x443300 starts the asynchronous reader: it registers the drain 0x443e70, clears the progress state, stores the starting thread's property context (0x41db60) in 0x885680, resets the stop event 0x8856dc and creates the thread AsyncFileLoader running 0x443360, its handle in 0x885694. The work event 0x885698 is auto-reset, so one wait consumes one set; each queued read sets it (0x443ae0) and so does the drain at its entry (0x443e77). The stop event is manual-reset and is set by the shutdown 0x443520, which also sets the work event and waits without a limit for the thread's handle.

The derivation is in the doc.