parallel fork-join patterns, including quicksort