CS 446/646 Principles of Computer Operating Systems
Spring 2009
Lab 2
Due on Tuesday, March 31 at 12:00 pm
Complete the Producer-Consumer project (page 274-280) from the text book (Silberschatz, 8th edition).
Scanned pages:
274
275
276
277
278
279
280
Submission requirements:
-
A makefile is required. All files in your submission will be copied to the same directory,
therefore do not include any paths in your makefile.
The makefile should include all dependencies that build your program.
If a library is included, your makefile should also build the library.
-
Do not hand in any binary or object code files.
All that is required is your source code, a makefile, and other
necessary files as stated in the assignment description.
Do test your project by copying the source code only into an
empty directory and then compile it by entering the command make.
-
Your source code will be assessed and marked.
Commenting is definitely required in your source code.
-
Your code must compile without any errors or warnings and run properly under
the systems used in the ECC lab (check their Web site for hours).
You may develop and test your programs on your own UNIX machine, but it is your
responsibility to ensure that they also work properly under the default ECC Lab shell.
There will be a heavy penalty if they don't.
The specific programming language you use is your choice, but
your makefile has to be compiling your source code and producing
a program that is executable on the UNIX systems in ECC lab.
-
Submit a tar file named LastName_FirstName.tar.gz, which contains all source codes and documentation.
Upload your file to WebCT.
Submissions including multiple files or sent by e-mail will NOT be evaluated.
Do not turn in printouts in any form.
-
Late assignments will be marked down according to the late policy published on the course Web page.
It is highly recommended to upload your project before the deadline even though it is not complete.
In that case, please indicate that you are still working on the code in your documentation.
You may then submit a revision through WebCT e-mail once you have finalized it.