Java study notes - HilaryHe/Hello-World GitHub Wiki

Task-level Parallelism

Task Creation and Termination (Async, Finish)

finish {
  async S1; // asynchronously compute sum of the lower half of the array
  S2;       // compute sum of the upper half of the array in parallel with S1
}
S3; // combine the two partial sums after both S1 and S2 have finished
⚠️ **GitHub.com Fallback** ⚠️