IsAsyncLoadPending
function · client
- Address
0x443e20· 78 bytes, up to0x443e6d- Meaning
- Returns 1 while either of two load lists is non-empty or a load count is non-zero, under one lock
- Confidence
- verified, proof one
- Finding
- glue/enterworld#world-entry-waits
Finding: World entry waits in glue: entering and leaving the world
Phase 1 of state 8 returns with the terrain around the entry point already loaded: 0x401570 runs
the map open 0x66fbe0 (0x4017cd) around the position, with the loading screen's progress callback
installed, loads the interface files, and sets the in-world flag 0x882734 last. Phase 2 waits for
the asynchronous file reader to be idle: nothing being read, nothing submitted and not started,
and nothing completed and awaiting its callback. The reader serves textures, terrain tiles, model
files and world-model files, so the wait covers every file queued between the phases.
The derivation is in the doc.
Callers 2
- AsyncFileReadWaitAll client
- CGlueMgr::Idle glue
Callees 2
- SCritSect::Enter storm
- SCritSect::Leave storm
Calls and jumps by a bare address, from tables/calls.tsv.