Actions
Bug #56480
closedstd::shared_mutex deadlocks on Windows
% Done:
100%
Source:
Tags:
Backport:
quincy pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Description
The winpthreads shared mutex implementation causes deadlocks on Windows [1]2. Specifically, async RBD IO calls are hanging. This also prevents the images from being unmounted.
One possible workaround would be to use boost::shared_mutex with MinGW builds.
[1] https://github.com/cloudbase/wnbd/issues/63#issuecomment-1161547102
[2] https://github.com/msys2/MINGW-packages/issues/3319
Trace: https://pastebin.com/raw/i3jpTyS3
Files
Actions