faq
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
faq [2013/12/02 19:56] – jxu | faq [2015/11/04 01:50] (current) – jxu | ||
---|---|---|---|
Line 57: | Line 57: | ||
You are allowed to modify the main() procedure and the alarm_thread in any way that meets the assignment requirements. | You are allowed to modify the main() procedure and the alarm_thread in any way that meets the assignment requirements. | ||
- | |||
- | **Question 5**: For Assignment 2, are we allowed to NOT use the alarm_list? | ||
- | |||
- | Answer to Question 5: | ||
- | |||
- | In the assignment description, | ||
- | |||
- | *********************************************************** | ||
- | "A3. You are required to make the following changes to the program | ||
- | " | ||
- | |||
- | In your program " | ||
- | alarm request from the alarm_list, instead of waiting for the specified | ||
- | number of n seconds and then printing out the alarm message as done in | ||
- | " | ||
- | and that new thread will print out the alarm message repeatedly, once | ||
- | every n seconds; while the alarm_thread will be free to continue to | ||
- | retrieve and process new alarm requests from the alarm_list." | ||
- | ************************************************************** | ||
- | |||
- | In the assignment description, | ||
- | |||
faq.txt · Last modified: 2015/11/04 01:50 by jxu