{"id":60964,"library":"cpp-channel","title":"cpp-channel","description":"C++11 thread-safe container for sharing data between threads (synchronized queue)","status":"active","version":"1.3.1","language":"cpp","source_language":null,"source_url":null,"tags":["thread","concurrency","queue","synchronization"],"install":[{"cmd":"vcpkg install cpp-channel","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(cpp_channel CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE cpp-channel::cpp-channel)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"channel/channel.hpp","correct":"#include <channel/channel.hpp>"}],"quickstart":{"code":"#include \"channel/channel.hpp\"\n#include <iostream>\n\nint main() {\n    channel<int> ch;\n    ch << 42;\n    int val;\n    ch >> val;\n    std::cout << val << std::endl;\n    return 0;\n}","lang":"cpp","description":"Basic usage of cpp-channel for thread-safe communication"},"warnings":[],"env_vars":null,"search_vec":"'+11':5 'c':4 'channel':3 'concurr':18 'contain':9 'cpp':2 'cpp-channel':1 'data':12 'queue':16,19 'safe':8 'share':11 'synchron':15,20 'thread':7,14,17 'thread-saf':6","created_at":"2026-06-17T04:34:02.356748+00:00","updated_at":"2026-06-17T04:34:02.356748+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}}