Project 1 comments

1. Grading

The grade you received is based on the following aspects:

  • (30 points) The organization, style, and content of the report

  •  
  • (120 points) The design and implementation of the six problems with 20 points for each

  •  
  • (30 points) Test cases, and output

  •  
  • (20 points) Cooperation
2. Sample

You may find the sample solutions to the problems in threadtest.cc (not including the implementation of condition variables and locks). Note that they have not been tested it in Nachos and some solutions may be unfair in the purpose of simplicity. To enable them to run in Nachos, some mechanism for ending the threads in a specific time or under a specific condition is also needed.