Sample 6: Buffered Channel With Asynchronous Receivers (choice, join synchronization patterns)


This sample shows a buffered channel support asynchronous receivers using asynchronous coordination patterns: choice and join. The callback actions are dispatched thru a thread pool executor.

More comments to come ...

Complete source code:
chat_defs.hpp
chat_join.cpp