3af9aecbec7f264983088a7e56a39f2fc2c367c3
Replace the one-detached-std::thread-per-client model and its manual bookkeeping (the clientThreads_ vector, finished-thread sweep, and detach-after-timeout shutdown) with a Void::Concurrency::ThreadPool: - start() builds clientPool_ (CLIENT_POOL_SIZE workers); the accept loop submits each accepted connection's handleClient + cleanup as a task. - stop() closes the client sockets (so each handler's read() returns) then resets the pool, whose destructor drains and joins every handler. The accept loop stays on its own dedicated thread — a long-lived listen loop is not pool work, and its cancellable/timeout-guarded shutdown is unchanged. CLIENT_POOL_SIZE (64) caps concurrent long-lived client handlers far above any realistic count for this bot's RPC surface. Build green. Runtime behavior (live RPC sessions) is unverified here. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Releases
2
EchoionCore 2.0.1
Latest
Languages
C++
94.4%
CMake
3.2%
POV-Ray SDL
2.4%