ef094c0d78718db67ff3fcc3faf204222b5ce03c
CommandManager dispatched async commands through a bespoke pool — a jthread vector, a CommandTask queue, a mutex/condition_variable, and a manual drain-on-shutdown loop. Replace it with a Void::Concurrency::ThreadPool: - startThreadPool() builds the pool at THREAD_POOL_SIZE; shutdown() flips the accept flag and resets the pool (~ThreadPool drains queued commands then joins — the same shutdown semantics the manual loop had). - dispatch() submits the CommandTask lambda straight to the pool instead of enqueuing + notifying; executeCommandAsync already swallows exceptions, so the discarded future is safe. - processCommandQueue() and the queue/cv/worker members are gone. Build green. 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%