MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / DownloadToMemThread

Function DownloadToMemThread

engine/Poseidon/Network/NetworkMisc.cpp:247–253  ·  view source on GitHub ↗

Download to memory

Source from the content-addressed store, hash-verified

245}
246
247CheckSquadObject::~CheckSquadObject()
248{
249 // we cannot destruct background object while thread is working
250 _stateDone.Wait();
251}
252
253// Download to memory
254static DWORD WINAPI DownloadToMemThread(void* context)
255{
256 DownloadToMemContext* c = (DownloadToMemContext*)context;

Callers 1

DownloadToMemOverlappedFunction · 0.85

Calls 2

DownloadFileFunction · 0.85
SetMethod · 0.45

Tested by

no test coverage detected