public void Process() { while (this.ContinueRunning) { m_uri = m_spider.ObtainWork(); if (m_uri == null) { this.ContinueRunning = false; } else { string page = GetPage(); if (page != null) { ProcessPage(page); } string strTags = m_spider.StripTags(page); //if (strTags != null) m_spider.WriteTags(strTags, m_uri.ToString()); } } m_spider.ThreadCount--; }