fixed:
threadpool.cpp: In member function 'bool KBEngine::thread::TPThread::join()':
threadpool.cpp:80: error: 'tidp' was not declared in this scope
threadpool.cpp:82: error: 'itr' was not declared in this scope