recoverable_thread_pool/
lib.rs

1//! recoverable-thread-pool
2//!
3//! A thread pool that supports automatic recovery from panics,
4//! allowing threads to restart after a panic. Useful for resilient
5//! and fault-tolerant concurrency in network and web programming.
6
7pub(crate) mod cfg;
8pub(crate) mod thread_pool;
9pub(crate) mod worker;
10
11pub(crate) use std::sync::{
12    Arc, Mutex,
13    mpsc::{self, Receiver, SendError, Sender},
14};
15pub(crate) use tokio::runtime::Builder;
16
17pub use thread_pool::*;
18pub use worker::*;