Polish threadpool
Created by: wangkuiyi
- Move implementation details from threadpool.h into threadpool.cc, so that users can understand the design with a single glance.
- Data members, including static ones, should follow the naming convention of
data_member_
. - Add the missing
#include <vector>
. - Remove
ThreadPool::GetAvaialble
andThreadPool::GetNumThreads
because they are not used and hopefully will not be used. - Rename
ThreadPool::num_threads_
intoThreadPool::total_threads
andThreadPool::available_
intoThreadPool::idle_threads
.