Function ste::spawn[][src]

pub fn spawn() -> Thread

Construct a default background thread executor.

These both do the same thing, except the builder allows you to catch an OS error:

let thread1 = ste::spawn();
let thread2 = ste::Builder::new().build()?;