{"id":13417911,"url":"https://github.com/progschj/ThreadPool","last_synced_at":"2025-03-15T02:31:59.809Z","repository":{"id":4927250,"uuid":"6083843","full_name":"progschj/ThreadPool","owner":"progschj","description":"A simple C++11 Thread Pool implementation","archived":false,"fork":false,"pushed_at":"2024-07-20T12:33:59.000Z","size":309,"stargazers_count":7880,"open_issues_count":54,"forks_count":2240,"subscribers_count":225,"default_branch":"master","last_synced_at":"2024-10-15T12:03:29.899Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/progschj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2012-10-05T00:04:30.000Z","updated_at":"2024-10-15T12:03:15.000Z","dependencies_parsed_at":"2023-01-13T13:18:00.097Z","dependency_job_id":"3d2f1830-36b9-43b6-b14e-7f913e621b60","html_url":"https://github.com/progschj/ThreadPool","commit_stats":{"total_commits":26,"total_committers":3,"mean_commits":8.666666666666666,"dds":"0.15384615384615385","last_synced_commit":"9a42ec1329f259a5f4881a291db1dcb8f2ad9040"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/progschj%2FThreadPool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/progschj%2FThreadPool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/progschj%2FThreadPool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/progschj%2FThreadPool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/progschj","download_url":"https://codeload.github.com/progschj/ThreadPool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221532168,"owners_count":16838908,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T22:00:55.303Z","updated_at":"2025-03-15T02:31:59.800Z","avatar_url":"https://github.com/progschj.png","language":"C++","readme":"ThreadPool\n==========\n\nA simple C++11 Thread Pool implementation.\n\nBasic usage:\n```c++\n// create thread pool with 4 worker threads\nThreadPool pool(4);\n\n// enqueue and store future\nauto result = pool.enqueue([](int answer) { return answer; }, 42);\n\n// get result from future\nstd::cout \u003c\u003c result.get() \u003c\u003c std::endl;\n\n```\n","funding_links":[],"categories":["TODO scan for Android support in followings","Concurrency","C++","Process, Thread \u0026 Coroutine","Learning Roadmap","Recently Updated","C/C++ 程序设计"],"sub_categories":["C++/C Toolkit","Stage 4: Systems Programming (4–6 weeks)","[Oct 19, 2024](/content/2024/10/19/README.md)","网络服务_其他"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogschj%2FThreadPool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprogschj%2FThreadPool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogschj%2FThreadPool/lists"}