Explore multithreaded programming techniques and best practices in this 57-minute conference talk from ACCU 2019. Dive into the world of callbacks, continuations, and task pipelines for efficient data processing across threads. Learn how to manage complexity, ensure clear code structure, and avoid common pitfalls such as dangling references and object leaks. Discover strategies for handling object lifetimes, implementing value-based programming, and utilizing weak pointers. Gain insights on race conditions, executors, and queue management in multithreaded environments. Examine practical solutions, including stop requests and callbacks, to enhance your C++ concurrent programming skills. Walk away with valuable guidelines and alternatives for creating robust, efficient multithreaded applications.
Here's My Number; Call Me, Maybe - Callbacks in a Multithreaded World