MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / ~NetAdapter

Method ~NetAdapter

pcsx2/DEV9/net.cpp:189–204  ·  view source on GitHub ↗

RxRunning must be set false before this

Source from the content-addressed store, hash-verified

187
188//RxRunning must be set false before this
189NetAdapter::~NetAdapter()
190{
191 //unblock InternalServerRX thread
192 if (internalRxThreadRunning.load())
193 {
194 internalRxThreadRunning.store(false);
195
196 {
197 std::lock_guard srvlock(internalRxMutex);
198 internalRxHasData = true;
199 }
200
201 internalRxCV.notify_all();
202 internalRxThread.join();
203 }
204}
205
206void NetAdapter::InspectSend(NetPacket* pkt)
207{

Callers

nothing calls this directly

Calls 3

notify_allMethod · 0.80
joinMethod · 0.80
loadMethod · 0.45

Tested by

no test coverage detected