By Dietmar Kühl
As part of C++ standardization, a proposal for Structured Concurrency ([wg21.link/p2300](http://wg21.link/p2300)) will be discussed. The proposed components are a bit abstract, and it requires some explanation of how things fit together. This presentation will discuss the implementation of a simple networking application using sender/receivers.
In particular, the presentation will show:
-
How to build asynchronous tasks using senders/receivers.
-
How cancellation is integrated.
-
Some aspects of the underlying implementation.
-
Highlights of the proposed standard’s positive properties.
The objective is to show how the proposed abstractions and components can be used to build a somewhat realistic application.