NETEVENTQUEUE::Poll
function · net · orchestration
- Address
0x5384d0· 319 bytes, up to0x53860e- Signature
void __thiscall (NETEVENTQUEUE *this)- Meaning
- Dispatches queued events in order under the lock, pings when no destroy came, frees all events, deletes a doomed client
- Confidence
- verified, proof two
- Name from
- the community database (idb)
- Finding
- net/dispatch#main-thread-drain
Finding: Main-thread drain in net: dispatch
The handler the client registers for its event 6 calls 0x5b3db0, which polls the queue of
every registered client. The poll handles the queued nodes in order, under the queue's lock: type 0x12 calls slot 12 with
the time, the data and its length; 0x13, 0x14 and 0x15 call slots 13, 14 and 15; 0x16
marks the client for deletion. A node is skipped once the client is so marked. After the
nodes, unless this poll handled a 0x16, the client runs its keepalive check. Slot 12
dispatches only in state 6.
The derivation is in the doc.
Callers 1
Callees 7
- NetClient::HandleIdle net
- TSLink_NETEVENTQUEUENODE_::Unlink net
- SMemFree storm
- SCritSect::Enter storm
- SCritSect::Leave storm
- SInterlockedIncrement storm
- SInterlockedDecrement storm
Calls and jumps by a bare address, from tables/calls.tsv.