{"id":15695868,"url":"https://github.com/bmoscon/threadpool","last_synced_at":"2025-08-09T01:34:47.363Z","repository":{"id":6558401,"uuid":"7800166","full_name":"bmoscon/ThreadPool","owner":"bmoscon","description":"Thread Pool Manager in C++","archived":false,"fork":false,"pushed_at":"2016-02-06T00:26:15.000Z","size":20,"stargazers_count":7,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-10T19:12:35.097Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bmoscon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-01-24T15:02:50.000Z","updated_at":"2021-11-06T03:08:44.000Z","dependencies_parsed_at":"2022-09-03T15:21:35.218Z","dependency_job_id":null,"html_url":"https://github.com/bmoscon/ThreadPool","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmoscon%2FThreadPool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmoscon%2FThreadPool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmoscon%2FThreadPool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmoscon%2FThreadPool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bmoscon","download_url":"https://codeload.github.com/bmoscon/ThreadPool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221248627,"owners_count":16784769,"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-10-03T19:05:14.835Z","updated_at":"2024-10-23T23:21:54.467Z","avatar_url":"https://github.com/bmoscon.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Thread Pool\n\n[![License](https://img.shields.io/badge/license-XFree86-blue.svg)](LICENSE)\n\n\nA simple, but functional thread pool\n\n\n## Example usage:\n\nYou add work/tasks to the thread pool like so:\n```\np.add_work(function_pointer);\n```\nand you start the processing with start:\n```\np.start();\n```\nyou can add tasks at any time, and you can stop at any time:\n```\np.stop();\n```\n\n\nStop will be called automatically when the thread pool is destroyed. Stop and the destructor will wait for the threads to complete before exiting.\n\n\nThread Pool defaults the worker count to the number of CPUs available on the machine, or you can specify a worker count when constructed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmoscon%2Fthreadpool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbmoscon%2Fthreadpool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmoscon%2Fthreadpool/lists"}