faq
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
faq [2013/10/17 16:56] – jxu | faq [2015/11/04 01:50] (current) – jxu | ||
---|---|---|---|
Line 4: | Line 4: | ||
====== General ====== | ====== General ====== | ||
- | ====== FAQ about Assignment 2 and 3====== | + | ====== FAQ about Assignments |
**Question 1**: We are planning to add a certain additional functionality X to our program for the Assignment. Is adding the additional functionality X allowed? | **Question 1**: We are planning to add a certain additional functionality X to our program for the Assignment. Is adding the additional functionality X allowed? | ||
Line 34: | Line 34: | ||
There is nothing wrong with the pthread library on RED. | There is nothing wrong with the pthread library on RED. | ||
- | The best and easiest way to do the assignment, is to follow | + | The best and easiest way to do the assignment, is to do the following: |
- | in the assignment 2 description document: | + | |
- | " | ||
1. You may start by trying to read and understand the program | 1. You may start by trying to read and understand the program | ||
" | " | ||
Line 54: | Line 52: | ||
Start with the program " | Start with the program " | ||
+ | **Question 4**: For Assignment 2, are we allowed to make modifications to the main() procedure and the alarm_thread function? | ||
- | **Question 4**: For Assignment 3, can I include the errors.h file that was used in Assignment 2? | + | Answer to Question 4: |
- | Answer | + | You are allowed |
- | **Question 5**: For Assignment 3, can I use an approach similar to the approach suggested in the answer to Question 3 above? | ||
- | |||
- | Answer to Question 4: | ||
- | Yes. You should follow the advice given in the "F. Hints" section in the Assignment 3 description document. Once you have studied and understood the programs “pxsem/ |
faq.1382029010.txt.gz · Last modified: 2013/10/17 16:56 by jxu