todo: iocp recv안되는 문제 해결하기
This commit is contained in:
@@ -12,11 +12,9 @@ namespace utils {
|
||||
|
||||
class ThreadPool {
|
||||
public:
|
||||
ThreadPool();
|
||||
ThreadPool(std::uint32_t numThreads);
|
||||
~ThreadPool();
|
||||
|
||||
void init(std::uint32_t numThreads);
|
||||
void terminate();
|
||||
|
||||
void respawnWorker(std::uint32_t numThreads);
|
||||
@@ -66,6 +64,8 @@ class ThreadPool {
|
||||
int threadCount = 0;
|
||||
|
||||
private:
|
||||
void init_(std::uint32_t numThreads);
|
||||
|
||||
void* Worker();
|
||||
|
||||
std::condition_variable jobQueueCV_;
|
||||
|
||||
Reference in New Issue
Block a user