iocp가 udp, tcp, tls, quic 전부 지원하도록 수정 중...

This commit is contained in:
2025-06-02 04:30:23 +09:00
parent a65483a9c3
commit 3f052a5f7f
3 changed files with 198 additions and 71 deletions

View File

@@ -28,7 +28,7 @@ class ThreadPool {
std::invoke_result_t<_Callable, _Args...>& retVal,
_Args&&... __args) {
if (terminate_) {
spdlog::error("Cannot run jobs on threads that terminating...");
spdlog::warn("Cannot run jobs on threads that terminating...");
return -1;
}
@@ -48,7 +48,7 @@ class ThreadPool {
std::invoke_result_t<_Callable, ThreadPool*, _Args...>>
int enqueueJob(_Callable&& __job, _Args&&... __args) {
if (terminate_) {
spdlog::error("Cannot run jobs on threads that terminating...");
spdlog::warn("Cannot run jobs on threads that terminating...");
return -1;
}