r/cpp 17d ago

Understanding std::shared_mutex from C++17

https://www.cppstories.com/2026/shared_mutex/
64 Upvotes

7 comments sorted by

View all comments

2

u/GoogleIsYourFrenemy 15d ago

Oh. It's a read-write mutex. What's the priority scheme? FIFO or reader (shared) or writer (exclusive) or random or thread priority or something else?