Project 1 comments
The grade you received is based on the following aspects:
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.