X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Fthreads.texi;h=a544b78f06522fd89a27a76a2ea0c598b0bbbf3b;hb=1badd625433c705859ee5ea9159728213e3b339f;hp=9138daf5e12082273d00fdc667cc6618c7a6448b;hpb=e7a9b6d7c7246def3949f33771977bb9e3c2810a;p=pintos-anon diff --git a/doc/threads.texi b/doc/threads.texi index 9138daf..a544b78 100644 --- a/doc/threads.texi +++ b/doc/threads.texi @@ -487,8 +487,9 @@ that @var{L} holds, then both @var{M} and @var{L} should be boosted to You only need to implement priority donation when a thread is waiting for a lock held by a lower-priority thread. You do not need to -implement this fix for semaphores, condition variables or joins. -However, you do need to implement priority scheduling in all cases. +implement this fix for semaphores, condition variables, or joins, +although you are welcome to do so. However, you do need to implement +priority scheduling in all cases. You may assume a static priority for priority donation, that is, it is not necessary to ``re-donate'' a thread's priority if it changes