线程池实现。 符合ANCI C和POSIX 随意暂停/继续/等待 简单易用的API 测试良好 线程池已获得麻省理工学院的许可。请注意,这个项目花费了我大量的工作和牺牲了我的空闲时间,我之所以免费提供它(甚至用于商业用途),是因为当你变得越来越富有时,你不会忘记我们这些开源的夜晚生物。A minimal but powerful thread pool in ANSI C
active 2023-08-15 → 2026-05-10 (UTC)
Activity over time
Daily event counts in the loaded window
Line chart, 1000 days from 2023-08-15 to 2026-05-10. Pushes: 1 total, peak 1 in a day. Pull requests: 4 total, peak 2 in a day. Issues: 6 total, peak 1 in a day. Comments: 13 total, peak 3 in a day. Stars: 345 total, peak 5 in a day.
- Pushes
- Pull requests
- Issues
- Comments
- Stars
Stars, PRs, issues and forks are under-captured in the later part of this window. GH Archive progressively stopped capturing non-push events during 2026 — −95% or worse by the end of the window. Every series here except Pushes fades for that reason, so a decline above reflects the archive, not this repository. Pushes stay reliable throughout, so read them, and the contributor counts derived from them, as the real signal. Data health has the measurements.
Top contributors
Pushes, PRs, issues, reviews and comments — stars and forks excluded, so this is contribution rather than popularity
| Contributor | Contributions | Pushes | PRs | Comments |
|---|---|---|---|---|
| cs-moushuai | 6 | 0 | 0 | 3 |
| npc1054657282 | 6 | 0 | 0 | 4 |
| Pithikos | 4 | 1 | 0 | 1 |
| dunglas | 3 | 0 | 2 | 1 |
| Leo-jiahao | 2 | 0 | 2 | 0 |
| ati13703 | 1 | 0 | 0 | 1 |
| yw1573 | 1 | 0 | 0 | 1 |
| pjcuadra | 1 | 0 | 0 | 1 |
| FangXS-github | 1 | 0 | 0 | 1 |
| giovancris | 1 | 0 | 0 | 0 |
| asispatra | 1 | 0 | 0 | 0 |
| murillio4 | 1 | 0 | 0 | 0 |
Recent activity
Latest issues, pull requests and releases
- Issue comment#137pjcuadra2025-07-14 14:39Join all threads on thpool_destroy
- Pull request#136Leo-jiahao2025-07-02 03:57
- Pull request#136Leo-jiahao2025-07-02 03:56
- Issue comment#135npc10546572822025-05-18 11:23[BUGFIX] Fix thpool_destroy() hang: unlock all workers at once
- Issue comment#131npc10546572822025-04-20 13:01Is it possible to wait for a specific task?
- Issue#134npc10546572822025-04-20 12:26`bsem_post_all` is meaningless.
- Issue comment#133npc10546572822025-04-20 12:10Missing a parethesis
- Issue#131giovancris2024-04-18 05:27Is it possible to wait for a specific task?
- Issue comment#85yw15732024-04-18 02:34Doesn't release memory until job queue is empty?
- Issue comment#106FangXS-github2024-01-26 03:58support to zephyr RTOS
- Issue#51Pithikos2023-12-29 15:15Add threads to thread pool
- Issue comment#78ati137032023-12-24 22:45Is this library maintained?
- Issue comment#110Pithikos2023-12-21 20:48Why is `threads_keepalive` a global variable?
- Issue#110Pithikos2023-12-21 20:48Why is `threads_keepalive` a global variable?
- Issue comment#78dunglas2023-12-18 00:12Is this library maintained?
- Pull request#126dunglas2023-12-18 00:10
- Issue#68murillio42023-10-18 23:47Unresolved conflict
- Issue#125asispatra2023-10-06 17:51Does not improve runtime while using this threadpool implementation
- Pull request#124dunglas2023-10-06 16:21
Totals cover only the window loaded into ClickHouse and count events, not GitHub's lifetime totals — 345 stars here means stars gained during the window, not the repo's star count.