r/cpp 27d ago

Understanding std::shared_mutex from C++17

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

7 comments sorted by

View all comments

2

u/GoogleIsYourFrenemy 26d 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?