fn loader(
state: &Arc<RwLock<SurverState>>,
body_cont: ReadBodyContinuation<BufReader<File>>,
file_index: usize,
rx: &Receiver<LoaderMessage>,
) -> Result<()>Expand description
Thread that loads the body and signals.
fn loader(
state: &Arc<RwLock<SurverState>>,
body_cont: ReadBodyContinuation<BufReader<File>>,
file_index: usize,
rx: &Receiver<LoaderMessage>,
) -> Result<()>Thread that loads the body and signals.