|
|
|
|
|
by neerajsi
448 days ago
|
|
I've worked in and around srwlock for a long time. I don't think it's all that reasonable to think you should get "shared starve exclusive" by default, which is what you're asking for. We used to demand that kind of behavior in some windows filesystem code and it's always been a design mistake. |
|
It looks like the Rust standard library migrated away from SRWLOCK on account of this issue [0].
[0] https://github.com/rust-lang/rust/issues/121949