Share this postDaily bit(e) of C++Daily bit(e) of C++ | std::future<void>, std::shared_future<void>Copy linkFacebookEmailNotesMoreDaily bit(e) of C++ | std::future<void>, std::shared_future<void>Daily bit(e) of C++ #293, Simple one-shot signaling between threads using std::future<void> and std::shared_future<void>.Šimon TóthOct 21, 20231Share this postDaily bit(e) of C++Daily bit(e) of C++ | std::future<void>, std::shared_future<void>Copy linkFacebookEmailNotesMoreShareIf you require simple one-shot signalling between threads (and are stuck in pre-C++20 times), the void specializations of std::future and std::shared_future can serve as solid high-level choices for 1:1 and 1:N signalling.Click to open in Compiler Explorer.Leave a commentThanks for reading Daily bit(e) of C++! Subscribe for free to receive new posts and support my work.Subscribe