Skip to content

线程池实现。 符合ANCI C和POSIX 随意暂停/继续/等待 简单易用的API 测试良好 线程池已获得麻省理工学院的许可。请注意,这个项目花费了我大量的工作和牺牲了我的空闲时间,我之所以免费提供它(甚至用于商业用途),是因为当你变得越来越富有时,你不会忘记我们这些开源的夜晚生物。A minimal but powerful thread pool in ANSI C

active 2023-08-152026-05-10 (UTC)

Partial coverage20,519 / 26,275 hourly files (78%) · 2 absent upstream · 5,753 failed, retryable2023-08-152026-08-13 (UTC)— sampled evenly across the window, so rankings and trends hold; absolute counts scale up.
Events
439
Pushes
1
Pull requests
4
Issues
6
Stars
345
Forks
66

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

ContributorContributionsPushesPRsComments
cs-moushuai6003
npc10546572826004
Pithikos4101
dunglas3021
Leo-jiahao2020
ati137031001
yw15731001
pjcuadra1001
FangXS-github1001
giovancris1000
asispatra1000
murillio41000

Recent activity

Latest issues, pull requests and releases

  • Issue comment#137pjcuadra2025-07-14 14:39
    Join 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:01
    Is 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:10
    Missing a parethesis
  • Issue#131giovancris2024-04-18 05:27
    Is it possible to wait for a specific task?
  • Issue comment#85yw15732024-04-18 02:34
    Doesn't release memory until job queue is empty?
  • Issue comment#106FangXS-github2024-01-26 03:58
    support to zephyr RTOS
  • Issue#51Pithikos2023-12-29 15:15
    Add threads to thread pool
  • Issue comment#78ati137032023-12-24 22:45
    Is this library maintained?
  • Issue comment#110Pithikos2023-12-21 20:48
    Why is `threads_keepalive` a global variable?
  • Issue#110Pithikos2023-12-21 20:48
    Why is `threads_keepalive` a global variable?
  • Issue comment#78dunglas2023-12-18 00:12
    Is this library maintained?
  • Pull request#126dunglas2023-12-18 00:10
  • Issue#68murillio42023-10-18 23:47
    Unresolved conflict
  • Issue#125asispatra2023-10-06 17:51
    Does 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.