Neil Bergmann at Queensland University of Technology, Australia created this project. Thanks Neil!


Concurrent threads:

See the program add.cm (BACI C-- syntax). This program is a concurrent BACI program to add the first 100 integers using 10 concurrent threads. Using BACI, execute this program 20 times and record the results. Identify the problem(s) that exists in this example BACI program, and correct the problem by adding appropriate additional code. (You are not allowed to delete, replace, or modify existing code in the example program.)

Written deliverables:

  1. A listing of your revised code; highlight the parts of your revised code that are different from the original.
  2. A brief explanation of why the original program gives incorrect results.
  3. A brief explanation of how your solution corrects this. (What is the correct answer?)