CDownloadQueue::CDownloadQueue() // Needs to be recursive that that is can own an observer assigned to itself : m_mutex( wxMUTEX_RECURSIVE ) { m_datarate = 0; m_udpserver = 0; m_lastsorttime = 0; m_lastudpsearchtime = 0; m_lastudpstattime = 0; m_udcounter = 0; m_nLastED2KLinkCheck = 0; m_dwNextTCPSrcReq = 0; m_cRequestsSentToServer = 0; m_lastDiskCheck = 0; SetLastKademliaFileRequest(); }
CDownloadQueue::CDownloadQueue() // Needs to be recursive that that is can own an observer assigned to itself : m_mutex( wxMUTEX_RECURSIVE ) { m_datarate = 0; m_udpserver = 0; m_lastsorttime = 0; m_lastudpsearchtime = 0; m_lastudpstattime = 0; m_udcounter = 0; m_nLastED2KLinkCheck = 0; m_dwNextTCPSrcReq = 0; m_cRequestsSentToServer = 0; m_lastDiskCheck = 0; // Static thresholds until dynamic kicks in. m_rareFileThreshold = RARE_FILE; m_commonFileThreshold = 100; SetLastKademliaFileRequest(); }