pub fn spawn_cpu<F>(func: F)where F: FnOnce() + Send + 'static,
Spawns a CPU thread to run a computing-heavy task.