SkillAgentSearch skills...

ThreadPool

A simple C++11 Thread Pool implementation

Install / Use

/learn @progschj/ThreadPool
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

ThreadPool

A simple C++11 Thread Pool implementation.

Basic usage:

// create thread pool with 4 worker threads
ThreadPool pool(4);

// enqueue and store future
auto result = pool.enqueue([](int answer) { return answer; }, 42);

// get result from future
std::cout << result.get() << std::endl;

Related Skills

View on GitHub
GitHub Stars8.7k
CategoryDevelopment
Updated12h ago
Forks2.4k

Languages

C++

Security Score

95/100

Audited on Apr 2, 2026

No findings