MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / Release

Method Release

ogsr_engine/xr_3da/NET_Server_Trash/NET_Client.cpp:77–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75 return P;
76}
77void INetQueue::Release()
78{
79 cs.Enter();
80 VERIFY(!ready.empty());
81 //---------------------------------------------
82 u32 tmp_time = GetTickCount() - 60000;
83 u32 size = unused.size();
84 if ((LastTimeCreate < tmp_time) && (size > 32))
85 {
86 xr_delete(ready.front());
87 }
88 else
89 unused.push_back(ready.front());
90 //---------------------------------------------
91 ready.pop_front();
92 cs.Leave();
93}
94
95IPureClient::IPureClient(CTimer* timer)
96{

Callers 2

ShowSplashFunction · 0.45
net_msg_ReleaseFunction · 0.45

Calls 7

xr_deleteFunction · 0.85
LeaveMethod · 0.80
EnterMethod · 0.45
emptyMethod · 0.45
sizeMethod · 0.45
frontMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected