s_downloadLock
global · net
- Address
0xc2a1a0· 24 bytes, up to0xc2a1b7- Type
uint8_t[24]- Meaning
- Holds the lock a download file's release and feed take
- Confidence
- verified, proof one
- Finding
- net/download#releasing-a-download
Finding: Releasing a download in net: download
0x5b0450(delete, commit) takes the lock 0xc2a1a0, drops one reference from the file object and from each object its +4 chains to (0x5b04d0), deleting each whose count +8 reaches 0 through slot 0 with 1, and clears +0. It then deletes the file (0x5b04f0), or with commit, for a .partial, renames it to the final path (0x5b0570), which sets state 3, error 1 when the rename fails. 0x5b0550(delete) is the release without a commit and 0x5b0440 without either.
The derivation is in the doc.