{"id":13420095,"url":"https://github.com/tghosgor/threadpool11","last_synced_at":"2025-03-15T06:31:46.952Z","repository":{"id":11513696,"uuid":"13994220","full_name":"tghosgor/threadpool11","owner":"tghosgor","description":"A fast, lock-free, cross-platform C++11 thread pool library that is aiming to be lightweight and simple.","archived":false,"fork":false,"pushed_at":"2021-03-29T07:58:50.000Z","size":4325,"stargazers_count":324,"open_issues_count":0,"forks_count":82,"subscribers_count":32,"default_branch":"3.0","last_synced_at":"2024-07-31T22:53:19.640Z","etag":null,"topics":["cpp11","threading","threadpool"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tghosgor.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}},"created_at":"2013-10-30T17:34:14.000Z","updated_at":"2024-07-15T08:52:03.000Z","dependencies_parsed_at":"2022-08-07T16:30:11.752Z","dependency_job_id":null,"html_url":"https://github.com/tghosgor/threadpool11","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tghosgor%2Fthreadpool11","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tghosgor%2Fthreadpool11/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tghosgor%2Fthreadpool11/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tghosgor%2Fthreadpool11/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tghosgor","download_url":"https://codeload.github.com/tghosgor/threadpool11/tar.gz/refs/heads/3.0","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221548289,"owners_count":16840986,"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":["cpp11","threading","threadpool"],"created_at":"2024-07-30T22:01:26.224Z","updated_at":"2024-10-26T15:31:35.616Z","avatar_url":"https://github.com/tghosgor.png","language":"C++","readme":"![threadpool11](https://raw.githubusercontent.com/tghosgor/threadpool11/misc/img/logo.png)\nthreadpool11\n==========\n\n### A fast, almost lock-free, cross-platform, full CPU utilizing thread pool implementation using C++11 features.\n\nYou can find the **dead simple API** documentation on header comments.\n\nThis project was initially developed in just a few hours of free time as I could not find a simple lightweight thread pooling library for my needs.\n\n[Available on AUR](https://aur.archlinux.org/packages/threadpool11-git/).\n\n## threadpool11 performance compared to OpenMP\n\nHere is a result of OpenMP demo found in the tree.\n\u003e Your machine's hardware concurrency is 8\n\u003e \n\u003e threadpool11 execution took 22704 milliseconds.\n\u003e \n\u003e threadpool11 (no future) execution took 21198 milliseconds.\n\u003e \n\u003e openmp execution took 21663 milliseconds.\n\u003e \n\u003e openmp execution (dynamic schedule) took 21335 milliseconds.\n\n\n\u003e gcc -v\n\u003e gcc version 8.2.1 20181127 (GCC)\n\nTesting code can be found in project tree.\n\nI will be glad to hear about the suggestions/ideas you have about the project, via the [issue reporting section](https://github.com/tghosgor/threadpool11/issues).\n\nAll non '_-dev_' branches are safe to use but prefer the latest version.\n\n## Building \u0026 Installing\n### As a Static Library\n\n```\n% mkdir -p build\n% cd build\n% cmake ..\n% make\n% make test\n% make install\n```\n\n### As a Shared Library\n \n```\n% mkdir -p build\n% cd build\n% cmake -DBUILD_SHARED_LIBS:BOOL=ON ..\n% make\n% make test\n% make install\n```\n\n","funding_links":[],"categories":["TODO scan for Android support in followings","C++"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftghosgor%2Fthreadpool11","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftghosgor%2Fthreadpool11","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftghosgor%2Fthreadpool11/lists"}