pub fn parallel_execute<F, T>(f: F) -> Result<T>where F: FnOnce(&ParallelContext) -> Result<T>,
Execute function in parallel context