logoalt Hacker News

JoshTriplettyesterday at 7:24 PM2 repliesview on HN

We're currently working on separating poison from mutexes, such that the default mutexes won't have poisoning (no more `.lock().unwrap()`), and if you want poisoning you can use something like `Mutex<Poison<T>>`.


Replies

kouteiheikayesterday at 7:53 PM

Yeah, I'm looking forward to it!

While we're at it, another thing that'd be nice to get rid of is `AssertUnwindSafe`, which I find even more pointless.

sunshowersyesterday at 8:55 PM

I'm very disappointed at this. The path of least resistance ought to be the right thing to do.