void TimeoutManager::Run() { while( !stopped_ ) { timer_.Wait( 1000 ); CheckTimeouts(); } }
void CBaseServer::PreFrame() { // Check timeouts CheckTimeouts(); // Get packets from clients ReadPackets(); // update ping based on the last known frame from all clients //SV_CalcPings(); // give the clients some timeslices //SV_GiveMsec(); // Toggle the log buffer if full //SV_CheckLog(); };