Tag

sender/receiver model

1 views collected around this technical thread.

Tencent Cloud Developer
Tencent Cloud Developer
Jun 29, 2022 · Fundamentals

C++ Asynchronous Programming: Understanding libunifex and Sender/Receiver Model

This article thoroughly explains libunifex’s sender/receiver model for C++ asynchronous programming, covering its design goals, module structure, pipeline composition, key functions like schedule, then, sync_wait, and the connect/start mechanisms, while demonstrating practical examples and integration with C++20 coroutines and cancellation support.

C++Pipelineasynchronous programming
0 likes · 16 min read
C++ Asynchronous Programming: Understanding libunifex and Sender/Receiver Model