From: Ben Pfaff Date: Tue, 10 Jan 2006 22:56:29 +0000 (+0000) Subject: Fix priority donation example. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5ec6a1f00bce54797b23205e9a33c3c8a86702c;p=pintos-anon Fix priority donation example. From Godmar Back's TA. --- diff --git a/doc/threads.texi b/doc/threads.texi index e6e64f1..b84a8f6 100644 --- a/doc/threads.texi +++ b/doc/threads.texi @@ -681,8 +681,8 @@ If multiple threads have the same highest priority, Priority donation only changes the priority of the donee thread. The donor thread's priority is unchanged. -Priority donation is not additive: if thread @var{A} (with priority 5) donates -to thread @var{B} (with priority 3), then @var{B}'s new priority is 5, not 8. +Priority donation is not additive: if thread @var{A} (with priority 3) donates +to thread @var{B} (with priority 5), then @var{B}'s new priority is 3, not 8. @item Can a thread's priority change while it is on the ready queue?