Skip to main content

SharedThread

Type Alias SharedThread 

Source
pub type SharedThread<T> = Arc<Mutex<T>>;
Expand description

Shared thread type able to be passed between threads.

Significant performance overhead compared to SharedMut.

Aliased Typeยง

pub struct SharedThread<T> { /* private fields */ }