//------------------------------------------------------------------------------------- thread::TPThread* DBThreadPool::createThread(int threadWaitSecond, bool threadStartsImmediately) { DBThread* tptd = new DBThread(dbinterfaceName_, this, threadWaitSecond); if (threadStartsImmediately) tptd->createThread(); return tptd; }
//------------------------------------------------------------------------------------- thread::TPThread* DBThreadPool::createThread(int threadWaitSecond) { DBThread* tptd = new DBThread(this, threadWaitSecond); tptd->createThread(); return tptd; }