Introduction - If you have any usage issues, please Google them yourself
The framework of a thread pool
Lock.cpp: the lock operation, read locks can be complicated, write lock exclusive.
Queue.h: a cohort of the package, the queue reads and writes are added to lock protection.
Socket.cpp: simple package set interface.
Thread.cpp: the thread package to achieve some simple thread stop operation, startup time other threads need to inherit such.
Worker.cpp: user interface class, the user needs to inherit such.
ListenThread.cpp (inherit Thread.cpp): thread server listener. If a client is connected by the notification class ThreadPool, ThreadPool class assignment.
TaskThread.cpp (inherit Thread.cpp): responsible for specific tasks, accept the client sent the data.