fork

Function fork 

Source
pub fn fork(new_name: &str) -> ForkResult
Expand description

Forks the current worker at the current execution point. The new worker gets the new-name worker name, and this worker continues running as well. The return value is going to be different in this worker and the forked worker.