我试图了解不同的用例。以及2个线程使用之间的区别。 
这是我读过的一个很好的教程,它解释了boost::thread_group。
这是我正在使用的代码:
boost::threadpool::pool s_ThreadPool(GetCoreCount());
CFilterTask task(pFilter,  // filter to run
    boost::bind(&CFilterManagerThread::OnCompleteTask, this, _1, _2) // OnComplete sync callback          // _1 will be filter name  // _2 will be error code
                );
// schedule the new task - runs on the threadpool
s_ThreadPool.schedule(task);
这是析构函数:
s_ThreadPool.wait(0);
你能解释一下吗?