[−][src]Function multi_thread::run_thread
pub fn run_thread<F, T>(
name: impl Into<String>,
data: &T,
entrypoint: F
) -> Result<JoinHandle<()>, Error> where
F: Fn(T) -> Result<(), Error>,
F: Send + Copy + 'static,
T: Clone + Send + Sync + 'static,