Open main menu

CDOT Wiki β

Changes

OpenMP Debugging in Visual Studio / Team Debug

193 bytes added, 20:54, 5 December 2017
Case B - Using the Parallel Stacks Window
Finally, the Main thread is available and picks up the next spawned thread, which is a call to zoo function.
[[File:Stacks-step5.PNG|500px|center|Main thread]]
As we had stepped to the breakpoint set at each function definitions, we saw that Worker 1's stack call had gone from boo(), to zzz() to cough(), Worker 2 had gone from doo() to vroom() to beep(), and Worker 3's had gone from coo() to bla().
 
 
Sixth function call:
foo();
 
The next thread to free up was Worker 2, which snatched up the call to function foo() since it was available.
[[File:Stacks-step5.PNG|500px|center|Worker 2]]
As we had stepped to the breakpoint set at each function definitions, we saw that Worker 1's stack call had gone from boo(), to zzz() to cough(), Worker 2 had gone from doo() to vroom() to beep(), and Worker 3's had gone from coo() to bla().
==Case C==
92
edits