33
edits
Changes
no edit summary
# [mailto:dseifert-booth@myseneca.ca?subject=GPU621 Darius Seifert Booth]
# [mailto:rchung29@myseneca.ca?subject=GPU621 Rudy Chung]
== Definitions ==
=== Processes ===
Every process is a separate instance of a particular program that is being run on a computer.
=== Threads ===
Threads are sets of instructions that get executed by the processes that contain them.
The existence of multiple threads enables a process to separate work to be performed in parallel.
== Debugging single-threaded V.S. multithreaded programs ==
Debugging usually occurs on a single threaded program by pausing the execution at a specific line of code. While the execution is paused, the values of all the variables can be inspected. This can be helpful to closely view what is occurring between each line of code.
Debugging a multithreaded program is different from debugging a single threaded program because each thread has its own sequence of execution, meaning that the point that the execution is paused at can vary for each thread.
= OpenMP Debugging in Visual Studio =
== Walkthrough ==