async-lock icon indicating copy to clipboard operation
async-lock copied to clipboard

A question about poisoning

Open A248 opened this issue 2 years ago • 1 comments

I am simply curious regarding why the locks in this library don't implement lock poisoning like those in the standard library. I'm using RwLock whose read and write locking methods are entirely error-free. What was the reasoning behind this design decision?

A248 avatar Jul 25 '23 09:07 A248

I wasn't around when the library was designed, but I think that not having poisoning makes the library simpler overall.

notgull avatar Jul 25 '23 13:07 notgull

I do not plan on adding poisoning to this library. It could probably be implemented in a higher-level library on top of this one.

notgull avatar Jun 01 '24 19:06 notgull