리눅스에서 테스트 해볼 것
This commit is contained in:
@@ -59,10 +59,12 @@ int main() {
|
||||
spdlog::info("Waiting for connection...");
|
||||
sock.accept(clientSock, clientAddr);
|
||||
|
||||
// threadPool.enqueueJob(_TCPClient, std::move(clientSock), clientAddr);
|
||||
threadPool.enqueueJob(_TCPClient, std::move(clientSock), clientAddr);
|
||||
|
||||
Chattr::Thread thread_(_TCPClient, std::move(clientSock), clientAddr);
|
||||
thread_.detach();
|
||||
|
||||
Sleep(10000000);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user