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

YouTube

Lock-Free by Example - Towards an Interesting Lock-Free MPMC Queue

CppNow via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk works toward a growing, shrinking, mostly contiguous lock-free queue for multiple producers and consumers. Its design illustrates common lock-free programming problems and the tradeoffs among possible solutions.

Syllabus

Intro
General guide to threading
What is a queue
Why queue
Head and tail
undefined behavior
push problem
readhead
getting past tail
Pacman is happy
Making compromises
Checking the buffer
Lockfree programming
Multithreaded programming

Taught by

CppNow

Reviews

Start your review of Lock-Free by Example - Towards an Interesting Lock-Free MPMC Queue

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.