X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Fthreads.tmpl;h=98c5c5c54e9c1c99693449934990572c00d559d0;hb=5779c099854ef6a635613c0dc9c7ea1cff6288dc;hp=367baf42f1452633457932b7eb09063a2d0607ff;hpb=615bf3b3d2a8573ed6fb9ddc0055745e163ac999;p=pintos-anon diff --git a/doc/threads.tmpl b/doc/threads.tmpl index 367baf4..98c5c5c 100644 --- a/doc/threads.tmpl +++ b/doc/threads.tmpl @@ -32,7 +32,7 @@ FirstName LastName ---- 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 ---- 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 >> 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 ----