{"id":62310,"library":"tinycthread","title":"tinycthread","description":"Small, portable implementation of the C11 threads API.","status":"active","version":"2019-08-06","language":"cpp","source_language":null,"source_url":null,"tags":["thread","c11","portable","concurrency"],"install":[{"cmd":"vcpkg install tinycthread","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(tinycthread CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE tinycthread::tinycthread)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"tinycthread.h","correct":"#include <tinycthread.h>"}],"quickstart":{"code":"#include <tinycthread.h>\n#include <stdio.h>\n\nint thread_func(void *arg) {\n    printf(\"Hello from thread\\n\");\n    return 0;\n}\n\nint main() {\n    thrd_t thread;\n    thrd_create(&thread, thread_func, NULL);\n    thrd_join(thread, NULL);\n    return 0;\n}","lang":"cpp","description":"Create and join a thread"},"warnings":[],"env_vars":null,"search_vec":"'api':9 'c11':7,11 'concurr':13 'implement':4 'portabl':3,12 'small':2 'thread':8,10 'tinycthread':1","created_at":"2026-06-17T05:23:58.891972+00:00","updated_at":"2026-06-17T05:23:58.891972+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}}