Wordsmithing.
[pintos-anon] / doc / threads.tmpl
index 367baf42f1452633457932b7eb09063a2d0607ff..6afb34f4e51ca0c6f3def2d90a4def683d1ed17d 100644 (file)
@@ -32,7 +32,7 @@ FirstName LastName <email@domain.example>
 
 ---- ALGORITHMS ----
 
->> Briefly describe what happens in a call to thread_sleep(), including
+>> Briefly describe what happens in a call to timer_sleep(), including
 >> the effects of the timer interrupt handler.
 
 >> What steps are taken to minimize the amount of time spent in the timer
@@ -41,10 +41,10 @@ FirstName LastName <email@domain.example>
 ---- SYNCHRONIZATION ----
 
 >> How are race conditions avoided when multiple threads call
->> thread_sleep() simultaneously?
+>> timer_sleep() simultaneously?
 
 >> How are race conditions avoided when a timer interrupt occurs during a
->> call to thread_sleep()?
+>> call to timer_sleep()?
 
 ---- RATIONALE ----
 
@@ -61,7 +61,7 @@ FirstName LastName <email@domain.example>
 >> Identify the purpose of each in 25 words or less.
 
 >> Explain the data structure used to track priority donation.  Use ASCII
->> art to diagram a nested donation.
+>> art to diagram a nested donation.  (Alternately, submit a .png file.)
 
 ---- ALGORITHMS ----
 
@@ -118,12 +118,15 @@ ticks   A   B   C   A   B   C   to run
 >> table uncertain?  If so, what rule did you use to resolve them?  Does
 >> this match the behavior of your scheduler?
 
+>> How is the way you divided the cost of scheduling between code
+>> inside and outside interrupt context likely to affect performance?
+
 ---- RATIONALE ----
 
->> Critique your design, pointing out advantages and disadvantages in
->> your design choices.  If you were to have extra time to work on this
->> part of the project, how might you choose to refine or improve your
->> design?
+>> Briefly critique your design, pointing out advantages and
+>> disadvantages in your design choices.  If you were to have extra
+>> time to work on this part of the project, how might you choose to
+>> refine or improve your design?
 
 >> The assignment explains arithmetic for fixed-point math in detail, but
 >> it leaves it open to you to implement it.  Why did you decide to