92
edits
Changes
→Case B - Using the Parallel Stacks Window
Second function call:
cilk_spawn coo()
Now Worker 3 has taken the next spawned thread, which we can see the call stack highlighted in blue:
[[File:Stacks-step2.PNG|500px|center|Worker 3]]
Also, the middle box indicates the 2 threads, Worker 1 and Worker 2, which seem to just be waiting for work. Main Thread on the left also seems to be just waiting.
==Case C==