void TPool::Init() throw(std::string) { unsigned int curNumber = 0; while (curNumber++ < m_tNumber) { ThreadBase* th = new DefaultThread(this, true); m_workers.push_back(th); th->Start(); } }