benilla-re systems structs docs

WowConnectionNet::Start

function · net · host

Address
0x5bd910 · 220 bytes, up to 0x5bd9eb
Signature
void __thiscall (WowConnectionNet *this)
Meaning
Starts a worker thread per configured slot, marks the other slots stopped, starts the Network thread, waits until ready
Confidence
verified, proof one
Name from
the community database (idb)
Finding
net/threads#starting-the-threads

Finding: Starting the threads in net: threads

WowConnectionNet::Start creates one thread for each of the engine's worker count (at most 32), each named Net Thread <n> and running WorkerProc, which runs RunWorker(n). It then creates the thread Network running 0x5bda10, which runs the select loop and, on its return, sets the engine's stop event. Start returns once the flag +0x65d is set, which the select loop sets as it begins; it polls for it every 100 ms. The engine keeps a slot of 0x30 bytes per worker from +0x1c: the connection it is serving, its event and its stop flag.

The derivation is in the doc.

Callers 1

Callees 3

Calls and jumps by a bare address, from tables/calls.tsv.