Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

C++ Bare Metal Senders and Receivers

Unit Tests

C++ Bare Metal Senders and Receivers is a C++ header-only library that partially implements P2300, the proposed C++ standard design for asynchronous computation.

This implementation is intended for use on bare metal microcontrollers and implements a subset of the standard design. P2300 does encourage implementations not to do any runtime allocation, and that is fine for bare metal. But some notable differences here from the standard proposal are:

  • This implementation does not deal with exceptions in any way. An error is just an error value.
  • Coroutines are not considered at all. This implementation does not preclude coroutines as senders, but in a bare metal environment, the lack of non-allocation guarantees currently makes using coroutines an uncertain proposition at best.
  • Some functions are missing, some have different names, and some are non-standard.

In general, although the P2300 design allows mechanism-agnostic handling of concurrency, the main mechanism of concurrency targeted by this library is interrupts. A careful reading of [intro.multithread] is recommended to understand how the C++ memory model defines well-formed concurrent execution.

C++ standard support is as follows:

See the full documentation.

Compiler support:

BranchGCC versionsClang versions
main12 thru 1419 thru 22
cpp2012 thru 1414 thru 21

关于 About

An implementation of C++ "senders and receivers" async framework suitable for embedded platforms.

语言 Languages

C++98.6%
CMake1.4%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
176
Total Commits
峰值: 20次/周
Less
More

核心贡献者 Contributors