Is thread 0 (the fork-initiating thread) always idle? How about thread 1? I am a little bit confusing with the comparison of greedy approach - In this stalling one, if the thread 2 is the last to complete task, how is the continuation of bar executed on thread 0? Is there another steal from thread 2 to thread 0 of the continuation?
Is thread 0 (the fork-initiating thread) always idle? How about thread 1? I am a little bit confusing with the comparison of greedy approach - In this stalling one, if the thread 2 is the last to complete task, how is the continuation of
bar
executed on thread 0? Is there another steal from thread 2 to thread 0 of the continuation?