Ross ROSS = Recommend OSS · open-source software intelligence for agents

vit-vit/CTPL

Modern and efficient C++ Thread Pool Library observed · 2026-08-28

github.com/vit-vit/CTPL · C++ · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

23/100

  • Activity 0
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4385
  • days_rel: n/a
  • days_push: 1315
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

2034 stars · 362 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

CTPL is a modern, efficient, header-only C++ thread pool library implementing the thread pool pattern for parallel job execution. It supports pushing any callable (lambdas, functors, functions) with variadic parameters, dynamic pool resizing, and returning results via standard C++ futures.

Use cases

  • run tasks in parallel with a fixed set of worker threads
  • limit the number of concurrently executing jobs
  • avoid thread creation/destruction overhead in a C++ app
  • process background event handlers to keep a UI responsive
  • get results or exceptions from submitted tasks via std::future
  • resize the worker pool dynamically at runtime

When to choose

  • you need a simple, dependency-free, header-only thread pool in standard C++
  • you want to push arbitrary callables with variadic arguments and futures-based results
  • you need to bound parallelism and query idle threads

When to avoid

  • you need advanced scheduling, priorities, or work stealing beyond a basic pool
  • your project requires a more feature-rich or actively evolving concurrency framework
  • you cannot use C++11 or, for the Boost variant, the Boost Lockfree dependency

Facets

library · maturity stable

concurrency developer-tools cpp cross-platform thread-pool header-only parallel-execution futures algorithms

1 source

Member repositories

RepositoryRoleHealth v2
vit-vit/CTPLmain23

For agents

markdown · JSON · MCP: product_card(name="vit-vit/CTPL")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem