CS520
Spring 2018
Laboratory 8
Friday March 30
The lab must be submitted prior to 12noon on Sunday April 1.


Implement mutexes. You must first complete your implementation of thread_create and thread_yield, if you did not complete them for Lab 7.

We will re-test with the Lab 7 test files (available in ~cs520/public/prog4):

We will test mutexes with (available in ~cs520/public/prog4):

The re-test of Lab 7 will be worth 60 points. Your implementation of mutexes will be worth 40 points.

Turn in this laboratory by typing:

% ~cs520/bin/submit lab8 thread.c thr_asm.s thread.h

Submissions can be checked by typing:

% ~cs520/bin/scheck lab8

Remember that there are no late submissions of labs. Submit what you have prior to 12noon on Sunday April 1. Be careful: one minute late is late.


Last modified on February 8, 2018.

Comments and questions should be directed to pjh@cs.unh.edu