s_asyncFinishedQueue
global · client
- Address
0x8856c4· 12 bytes, up to0x8856cf- Type
uint32_t[3]- Meaning
- Holds the queue of finished asynchronous reads: link offset 0x20 and terminator
- Confidence
- verified, proof one
- Finding
- glue/enterworld#reading-a-file
Finding: Reading a file in glue: entering and leaving the world
For each read the thread calls SFile::Read(file +0, buffer +4, size +8) up to 10 times, with OsSleep(1) after each
failure; after the tenth failure it copies the file name into a local buffer that nothing reads. It enters the read's own
lock (+0x18) around the tries when that is set. The read is queued as finished either way: under the queue lock it is
unlinked, appended to the finished queue 0x8856c4, cleared from 0x8856d0, and its byte +0x28 is set. A file that
cannot be read is therefore delivered unread, as done.
The derivation is in the doc.