{"id":60223,"library":"libuv","title":"libuv","description":"libuv is a multi-platform support library for asynchronous I/O operations.","status":"active","version":"1.52.0","language":"cpp","source_language":null,"source_url":null,"tags":["async","io","event-loop","networking"],"install":[{"cmd":"vcpkg install libuv","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(libuv CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE uv)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"uv.h","correct":"#include <uv.h>"}],"quickstart":{"code":"#include <uv.h>\n#include <iostream>\n\nint main() {\n    uv_loop_t *loop = uv_default_loop();\n    uv_run(loop, UV_RUN_DEFAULT);\n    std::cout << \"libuv loop ran\\n\";\n    return 0;\n}","lang":"cpp","description":"Runs the default libuv event loop"},"warnings":[{"fix":"Use uv_async_send() to safely signal from other threads.","message":"libuv is not thread-safe by default; use uv_async_t for cross-thread communication.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'async':14 'asynchron':11 'event':17 'event-loop':16 'i/o':12 'io':15 'librari':9 'libuv':1,2 'loop':18 'multi':6 'multi-platform':5 'network':19 'oper':13 'platform':7 'support':8","created_at":"2026-06-16T19:21:25.472024+00:00","updated_at":"2026-06-16T19:21:25.472024+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","networking"],"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}}