{"id":60852,"library":"dp-thread-pool","title":"dp::thread_pool","description":"dp::thread_pool - fast, lightweight C++20 thread pool.","status":"active","version":"0.7.0","language":"cpp","source_language":null,"source_url":null,"tags":["thread-pool","concurrency","c++20","lightweight"],"install":[{"cmd":"vcpkg install dp-thread-pool","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(dp_thread_pool CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE dp::thread_pool)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"dp/thread_pool.hpp","correct":"#include <dp/thread_pool.hpp>"}],"quickstart":{"code":"#include <dp/thread_pool.hpp>\n#include <iostream>\nint main() {\n    dp::thread_pool pool(4);\n    auto future = pool.enqueue([] { return 42; });\n    std::cout << future.get() << std::endl;\n    return 0;\n}","lang":"cpp","description":"Create a thread pool and enqueue a task"},"warnings":[],"env_vars":null,"search_vec":"'+20':10,18 'c':9,17 'concurr':16 'dp':1,4 'fast':7 'lightweight':8,19 'pool':3,6,12,15 'thread':2,5,11,14 'thread-pool':13","created_at":"2026-06-17T04:29:57.198513+00:00","updated_at":"2026-06-17T04:29:57.198513+00:00","problems":[],"ecosystem":"vcpkg","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["async"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}