YoVDO

Would Reserve - Upgrade - Downgrade Methods Improve std::shared_mutex?

Offered By: ACCU Conference via YouTube

Tags

ACCU Conference Courses C++ Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the potential improvements to 'std::shared_mutex' through the addition of 'reserve', 'upgrade', and 'downgrade' methods in this 19-minute conference talk from ACCU. Begin with a review of the C++17 specification for 'std::shared_mutex', then examine a competitive implementation supporting these new methods. Analyze benchmark results across three dimensions: concurrent lock accesses, read access percentage, and lock hold time duration. Gain insights into the performance implications of these proposed enhancements and their potential impact on common usage scenarios. Consider the trade-offs between interface complexity and performance gains in this Linux-focused exploration of shared mutex optimization.

Syllabus

Intro
Pre-Introduction: std::shared_mutex
Recent Scenarios
std::shared_mutex::lock
So why is this not part of the C++ Standard?
Micro-Benchmark
std::shared_mutex vs. std::mutex
What happened to downgrade?
Conclusion


Taught by

ACCU Conference

Related Courses

Computer Graphics
University of California, San Diego via edX
Intro to Parallel Programming
Nvidia via Udacity
Initiation à la programmation (en C++)
École Polytechnique Fédérale de Lausanne via Coursera
C++ For C Programmers, Part A
University of California, Santa Cruz via Coursera
Introduction à la programmation orientée objet (en C++)
École Polytechnique Fédérale de Lausanne via Coursera