s_asyncAwaitedRead
global · client
- Address
0x885684· 4 bytes, up to0x885687- Type
void *- Meaning
- Points to the asynchronous read being waited for, cleared when it finishes
- Confidence
- verified, proof one
- Finding
- glue/enterworld#waiting-for-one-read
Finding: Waiting for one read in glue: entering and leaving the world
AsyncFileReadWait(read) returns at once for a read whose done byte +0x1c is set. Otherwise it
records the read as the one awaited and, unless it is the read in progress, its byte +0x1d is 0
or its byte +0x28 is set, moves it to the head of the queue 0x885688. It then drains finished
reads and sleeps 1 ms until the drain clears the awaited read. A depth count is held across the wait.
Texture, map object, model and terrain loads call it.
The derivation is in the doc.