目测很难找到比如下这个连接更简单的线程池实现了。用起来也很方便。好东西。git
https://github.com/mbrossard/threadpoolgithub
http://stackoverflow.com/questions/6297428/existing-threadpool-c-implementation 线程