do not click

Meeting C++ 2024   |  Online   |  Training   |  Books   |  Survey   |  Job fair   |  Advertising   |  Jobposting   |  Login

Meeting C++ 2024 - Thread pool elements

Conference | Live Schedule | Talks | Get your ticket | Set your timezone

Thread pool elements

Join session

Jens Weller

On Day 2 at 13:15 (CET/Berlin) in Track D online

In this talk I'd like to explore what one can learn from building a simple thread pool in C++20. The talk looks at how the Consumer - Producer pattern is similar to a thread pool, as one part produces scheduled elements for execution.

The talk is based on a simple prototype thread pool implementation I've toyed around with in Compiler Explorer. Noticing that various concurrency elements of C++ play together to form a thread pool at the end. I hope this helps folks with understanding how these elements play together in C++.

Please login to comment

Copyright Meetingcpp GmbH Imprint Privacy Policy