todo: iocp recv안되는 문제 해결하기

This commit is contained in:
2025-06-04 02:33:00 +09:00
parent 3f052a5f7f
commit c0e0279e5c
15 changed files with 363 additions and 157 deletions

View File

@@ -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_;