C++ Sender Patterns to Wrangle C++ Concurrency in Embedded Devices
Talkat CppCon 2024 · on Thursday, 2024-09-19· at 14:00· Spruce 3/4, 6700 North Gaylord Rockies Boulevard·
summary
Claims that senders tame bare‑metal concurrency by composing Intel's open source bare-metal senders and receivers into reusable building blocks, avoiding exceptions and dynamic allocators, and yielding explicit timeout adapter and fixed‑priority / trigger scheduler patterns. Shows a working STM32 robot demo that serializes interrupt-driven peripherals and a GDB + Python tool that graphs sender chains so debugging reveals which link handled a signal rather than guessing.
AI-written summary · about
chapters (19)
- 0:00Embedded constraints
- 1:48Bare metal C++
- 3:15Hardware interrupts
- 6:04Concurrency exercise
- 9:17Embedded concurrency challenges
- 11:21Sender patterns for concurrency
- 14:54Sender factories adapters
- 16:59Key sender adapters
- 19:50Timeout handling
- 23:26Fixed priority schedulers
- 27:17Demo robot messaging
- 31:49Debugging senders receivers
- 35:03Debugging compile-time handlers
- 40:47Template metaprogramming tools
- 46:29Recursive reset handlers
- 51:03Demo trigger scheduler timeout
- 55:36Debugging chains in GDB
- 58:05Sender value structured concurrency
- 1:00:12Summary future tools
related talks
01h 00mBuilding Effective Embedded Systems in C++: Architectural Best Practices
55mC++ in the World of Embedded Systems
30mFearless concurrency in your microcontroller
55mSockets - Applying the Unix Readiness Model When Composing Concurrent Operations in C++
01h 03mWriting sustainable software. The how and the what!
01h 07mAn Introduction to Multithreading in C++20
01h 00mModern C++: C++ Patterns to Make Embedded Programming More Productive
56mThe C++ Execution Model
