March 6, 2021

This post concludes my posts about co_return in C++20. I started with

Read More

March 4, 2021

Based on the coroutines-based implementation of a simple future in my last

Read More

February 22, 2021

Instead of return, a coroutine uses co_return returning its result. In this

Read More

December 12, 2020

Sender/receiver workflows are pretty common for threads. In such a workflow, the

Read More

June 15, 2018

After the last post to executors, I can finally write about the

Read More

April 27, 2018

Writing multithreading programs is hard, even harder if the program should be

Read More

February 24, 2017

Tasks in the form of promises and futures have in C++11 an

Read More

September 7, 2016

Until now, I’ve used two strategies to summate a std::vector. First, I

Read More

June 11, 2016

In case you use promise and future to synchronize threads, they have

Read More

June 6, 2016

The parent of a thread has to take care of their child.

Read More

June 5, 2016

With std::promise and std::future, you have full control over the task.

Read More

June 3, 2016

std::packaged_task enables you to write a simple wrapper for a callable, which

Read More