Previous | Next --- Slide 57 of 64
Back to Lecture Thumbnails
machine6

Stalling join:

  • Thread that initiated the 'fork' will join all other threads.
  • A thread will remain idle even if there is work that can be stolen as it is 'stalling'/waiting for the all threads to sync.

Greedy join:

  • Last thread to reach the sync point will join all threads.
  • No idle threads so long as there is work that can be stolen, as all threads are 'greedy' for work.
pdp

Shouldn't the spawn count on this slide be 1?