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.