Hands-on; Shared Memory II; Synchronization Primitives

  1. A threaded http://siber.cankaya.edu.tr/ozdogan/ParallelComputing/cfiles/code47.c program for computing the value of $\pi$, Vary the number of sample points and threads, then observe the outcome.

  2. A threaded http://siber.cankaya.edu.tr/ozdogan/ParallelComputing/cfiles/code23.c program that determines the sum with the use of mutex variables;
  3. A threaded http://siber.cankaya.edu.tr/ozdogan/ParallelComputing/cfiles/code48.c program that performs a dot product with the use of mutex variables; (http://siber.cankaya.edu.tr/ozdogan/ParallelComputing/cfiles/code49.c sequential version)
  4. This http://siber.cankaya.edu.tr/ozdogan/ParallelComputing/cfiles/code50.c program demonstrates the use of condition variables.
Cem Ozdogan 2010-12-06