YoVDO

Lock-Free Programming with Modern C++

Offered By: ACCU Conference via YouTube

Tags

ACCU Conference Courses Thread Safety Courses Lock-free Programming Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore lock-free programming techniques in modern C++ through this comprehensive conference talk from ACCU 2017. Delve into the world of thread-safe code for low-latency and real-time applications, focusing on the improvements introduced by the C++ standard, including std::atomic and a well-defined memory model for multithreaded code. Learn about atomic operations, lock-free and wait-free programming concepts, and common pitfalls to avoid. Discover practical use cases for lock-free programming, including safe data sharing across threads without locks or critical sections. Examine the implementation of a lock-free queue as a concrete example of lock-free data structures. Gain insights into when to use lock-free techniques and important considerations for their successful application in modern C++ development.

Syllabus

Introduction
Overview
Lock types
Time constraints
Lockfree guarantees
Lock Reprogramming
Atomic
Floats
Weak vs Strong
Atomic vs Lockfree
Is Lockfree
Instances
Why do they exist
The code
Exchange between threads
Lockfree queue
Dataraces
Implementation
Wait for you


Taught by

ACCU Conference

Related Courses

Khronos Sycl Language Framework for C++ Accelerators - Take Advantage of All the MIPS
ACCU Conference via YouTube
Space Invaders - The C++20 Spaceship Operator is Upon Us
ACCU Conference via YouTube
Grinding, Farming, and Alliances - Become a Better Programmer by Using Words and Ideas From Casual Gaming
ACCU Conference via YouTube
Designing for C++ Concurrency Using Message Passing
ACCU Conference via YouTube
Productivity in C++ Game Development - Inside the Mind of an AAA Game Developer
ACCU Conference via YouTube