doxygen comments for threadpool.