lzpong / threadpool

based on C++11 , a mini threadpool , accept variable number of parameters 基于C++11的线程池,简洁且可以带任意多的参数

Home Page:http://www.cnblogs.com/lzpong/p/6397997.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

单例模式

chenjian88888 opened this issue · comments

上面所设计的线程池类,在工程中我们实例化一个对象就够了,是否可以设计为单例模式