Hello!
I’m having some issues with threadpool where I have some threads hanging after a panic
and looking for ways to handle that. I’ve been looking at the std::panic
hooks. However, I’m having some issues because my workers have some parameters which are not std::panic::UnwindSafe
, such as mpsc
's senders.
So, what’s the best way to handle panics that happen inside of a thread when using the threadpool
crate?