pub unsafe fn scoped<'a, T, F>(f: F) -> JoinGuard<'a, T>where T: Send + 'a, F: FnOnce() -> T + Send + 'a,
Spawns a new scoped thread