c++实现带锁的线程池类
话不多说上代码:线程锁类:#pragma once#include <pthread.h>#include <unistd.h>namespace lock_summary{ class ILock { public: ILock(){} virtual ~ILock(){} public: virtual void lock() = 0; virtual void unlock()