projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
64f0952
)
Fix wording.
author
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 6 Oct 2004 21:28:34 +0000
(21:28 +0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 6 Oct 2004 21:28:34 +0000
(21:28 +0000)
doc/threads.texi
patch
|
blob
|
history
diff --git
a/doc/threads.texi
b/doc/threads.texi
index f219db44fd800b94370d6ad2a978aa36f60517b7..74f51bcba15eef66817ced9ae41b35dfeaad0e60 100644
(file)
--- a/
doc/threads.texi
+++ b/
doc/threads.texi
@@
-462,9
+462,8
@@
When a thread is added to the ready list that has a higher priority
than the currently running thread, the current thread should
immediately yield the processor to the new thread. Similarly, when
threads are waiting for a lock, semaphore or condition variable, the
than the currently running thread, the current thread should
immediately yield the processor to the new thread. Similarly, when
threads are waiting for a lock, semaphore or condition variable, the
-highest priority waiting thread should be woken up first. A thread's
-priority may be set at any time, including while the thread is waiting
-on a lock, semaphore, or condition variable.
+highest priority waiting thread should be woken up first. A thread
+may set its priority at any time.
One issue with priority scheduling is ``priority inversion'': if a
high priority thread needs to wait for a low priority thread (for
One issue with priority scheduling is ``priority inversion'': if a
high priority thread needs to wait for a low priority thread (for