YoVDO

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

Offered By: CppNow via YouTube

Tags

C++Now Courses Concurrent Programming Courses Multithreaded Programming Courses Lock-free Programming Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the intricacies of lock-free programming through the development of a complex multi-producer, multi-consumer, growing, shrinking, mostly contiguous, lock-free circular queue in this CppNow conference talk. Delve into common challenges encountered in lock-free programming, examining various solutions and their trade-offs. Learn about general threading concepts, queue implementations, and specific issues such as undefined behavior, push problems, and buffer management. Gain insights into multithreaded programming techniques and the compromises necessary when designing efficient lock-free data structures. While the complete queue implementation may not be finished within the talk's duration, acquire valuable knowledge about advanced concurrent programming concepts and practices.

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

Related Courses

Pattern-Oriented Software Architectures: Programming Mobile Services for Android Handheld Systems
Vanderbilt University via Coursera
Paradigms of Computer Programming
Université catholique de Louvain via edX
Introduction to Operating Systems
Georgia Institute of Technology via Udacity
Programming Mobile Services for Android Handheld Systems: Content
Vanderbilt University via Coursera
Advanced Software Construction in Java
Massachusetts Institute of Technology via edX