fork child 1 -> $return1 = subroutine($param1, $param2) fork child 2 -> $return2 = subroutine($param3, $param4) wait for both childs to finish run other code with $return1 and $return2