Skip to content

feat(core/concurrency): add ThreadPool, Auto-Throttle and BatchConversionManager - #11

Merged
Dev-Sams1012 merged 1 commit into
mainfrom
feat/concurrency
Aug 23, 2026
Merged

Dev-Sams1012 merged 1 commit into
mainfrom
feat/concurrency

Conversation

@Dev-Sams1012

Copy link
Copy Markdown
Owner
  • Add ThreadPool with pausar/retomar/aguardar_ociosidade for bounded worker concurrency.
  • Add ICpuMonitor interface and LinuxProcStatCpuMonitor implementation (/proc/stat).
  • Add AutoThrottleController to pause/resume the pool based on a configurable CPU threshold.
  • Add BatchConversionManager to bridge ThreadPool and CompressionRouter, with cooperative per-job cancellation.
  • Link Threads::Threads via find_package(Threads REQUIRED) in core/CMakeLists.txt.
  • Update cli/main.cpp to enqueue jobs through BatchConversionManager instead of calling CompressionRouter::rotear directly.

…sionManager

- Add ThreadPool with pausar/retomar/aguardar_ociosidade for bounded worker concurrency.
- Add ICpuMonitor interface and LinuxProcStatCpuMonitor implementation (/proc/stat).
- Add AutoThrottleController to pause/resume the pool based on a configurable CPU threshold.
- Add BatchConversionManager to bridge ThreadPool and CompressionRouter, with cooperative per-job cancellation.
- Link Threads::Threads via find_package(Threads REQUIRED) in core/CMakeLists.txt.
- Update cli/main.cpp to enqueue jobs through BatchConversionManager instead of calling CompressionRouter::rotear directly.
@Dev-Sams1012 Dev-Sams1012 self-assigned this Aug 23, 2026
@Dev-Sams1012
Dev-Sams1012 merged commit 89915d9 into main Aug 23, 2026
1 check passed
@Dev-Sams1012
Dev-Sams1012 deleted the feat/concurrency branch August 23, 2026 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant