GitHub 火线榜

GitHub 火线榜 · 仓库档案

progschj/ThreadPool

A simple C++11 Thread Pool implementation (简介来自仓库自身文档。)

数据截至 10月26日progschj

最好成绩

#337

总榜 · C++ 分面

8829

累计 Star

2336

Fork 总数

0

近 30 天在榜天数

项目状态许可证: Zlib最近 push: 7月20日Open Issues(含 PR): 61

自 2026-10-25 起采集;未知 = 尚未采集到

把上榜徽章放进你的 README · progschj/ThreadPool[![把上榜徽章放进你的 README](https://git.vaiox.xyz/api/badge/progschj/ThreadPool.svg)](https://git.vaiox.xyz/zh/repo/progschj/ThreadPool)
<a href="https://git.vaiox.xyz/zh/repo/progschj/ThreadPool"><img src="https://git.vaiox.xyz/api/badge/progschj/ThreadPool.svg" alt="把上榜徽章放进你的 README" height="20"></a>

项目文档

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;

当前上榜

  • 337

    总榜 · 史上最强 · C++

    8829 星 · 2336 fork · 累计 Star

    总榜 · C++ →

近 30 天势头

近 30 天没有上榜记录。

← 回到榜单