百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
C

cppcoro

> DevOps
开源

C++协程抽象库,用于协程TS

3.9K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

C++协程抽象库,用于协程TS

CppCoro - 一个C++协程库

'cppcoro'库提供了一大批通用原语,用于利用[http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/n4680.pdf]中描述的协程TS提案。

这些包括:

  • 协程类型
  • task<T>
  • shared_task<T>
  • generator<T>
  • recursive_generator<T>
  • async_generator<T>
  • 可等待类型
  • single_consumer_event
  • single_consumer_async_auto_reset_event
  • async_mutex
  • async_manual_reset_event
  • async_auto_reset_event
  • async_latch
  • sequence_barrier
  • multi_producer_sequencer
  • single_producer_sequencer
  • 函数
  • sync_wait()
  • when_all()
  • when_all_ready()
  • fmap()
  • schedule_on()
  • resume_on()
  • 取消
  • cancellation_token
  • cancellation_source
  • cancellation_registration
  • 调度器与输入/输出
  • static_thread_pool
  • io_service 和 io_work_scope
  • file、readable_file、writable_file
  • read_only_file、write_only_file、read_write_file
  • 网络
  • socket
  • ip_address、ipv4_address、ipv6_address
  • ip_endpoint、ipv4_endpoint、ipv6_endpoint
  • 元功能
  • is_awaitable<T>
  • awaitable_traits<T>
  • 概念
  • Awaitable<T>
  • Awaiter<T>
  • Scheduler
  • DelayedScheduler

该库是一个实验性库,目前处于实验阶段。

Issues· 113 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C++asyncasync-awaitasynchronous-programmingasyncio

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类DevOps
定价开源

> 相关工具

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理