Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

How To Build Robust C++ Inter-Process Queues

CppCon via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to design and implement robust inter-process communication queues in C++ through this comprehensive conference talk from CppCon 2025. Discover the fundamental differences between thread and process synchronization, understanding why standard C++ approaches like std::atomic can lead to undefined behavior when used incorrectly across process boundaries. Explore the limitations of the C++ standard's single-process worldview and why traditional queue interfaces are insufficient for cross-process communication. Master the design principles for proper inter-process queue APIs that enforce role separation, preventing processes from performing inappropriate operations and ensuring that producers, consumers, and queue managers maintain their designated roles. Gain practical insights into preventing multiple processes from accidentally assuming the same role in single-producer designs. Examine real-world implementation techniques that ensure reliable operation in production environments, moving beyond seemingly solid code that can fail when transitioning from threads to processes. Access a complete working implementation that you can use and build upon in your own projects. The presentation includes detailed design considerations, implementation specifics, and best practices for creating inter-process queues that maintain data integrity and performance across process boundaries.

Syllabus

How To Build Robust C++ Inter-Process Queues - Jody Hagins - CppCon 2025

Taught by

CppCon

Reviews

Start your review of How To Build Robust C++ Inter-Process Queues

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.