{"id":62111,"library":"tinythread","title":"tinythread","description":"Implements a fairly compatible subset of the C++11 thread management classes","status":"active","version":"1.1","language":"cpp","source_language":null,"source_url":null,"tags":["thread","multithreading","c++11","lightweight"],"install":[{"cmd":"vcpkg install tinythread","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(tinythread CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE tinythread::tinythread)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"tinythread.h","correct":"#include <tinythread.h>"}],"quickstart":{"code":"#include \"tinythread.h\"\n#include <iostream>\n\nvoid thread_func() {\n    std::cout << \"Hello from thread!\" << std::endl;\n}\n\nint main() {\n    tthread::thread t(thread_func);\n    t.join();\n    return 0;\n}","lang":"cpp","description":"Creates and joins a thread using tinythread"},"warnings":[],"env_vars":null,"search_vec":"'+11':10,17 'c':9,16 'class':13 'compat':5 'fair':4 'implement':2 'lightweight':18 'manag':12 'multithread':15 'subset':6 'thread':11,14 'tinythread':1","created_at":"2026-06-17T05:17:14.829430+00:00","updated_at":"2026-06-17T05:17:14.829430+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":["utility"],"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}}