shared-lock Questions
5
Solved
std::shared_mutex::unlock_shared() blocks even though there are no active exclusive locks on Windows
My team has encountered a deadlock that I suspect is a bug in the Windows implementation of SRW locks. The code below is a distilled version of real code. Here's the summary:
Main thread acquires ...
Avow asked 1/3 at 23:9
5
Solved
According to wikipedia:
Shared locks are sometimes called "read locks" and exclusive locks are sometimes called "write locks".
Can you explain the reasoning behind the terms &...
Flavory asked 6/8, 2012 at 23:39
1
© 2022 - 2024 — McMap. All rights reserved.