Invert the priority scheme, so that PRI_MIN is now the lowest priority
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 10 Apr 2006 00:28:22 +0000 (00:28 +0000)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 10 Apr 2006 00:28:22 +0000 (00:28 +0000)
commitc7ceee91c04fa72da655c00cb82302537ff6c9eb
tree98481e6764ccf68e5882c7222c3cf9a17042e187
parent71b4d5a453498d45ae5929b51247a487c0e3719d
Invert the priority scheme, so that PRI_MIN is now the lowest priority
and PRI_MAX is now the highest priority.  This should reduce student
confusion (and at the same time subtly frustrate attempts to resubmit
work from previous quarters).
21 files changed:
doc/44bsd.texi
doc/threads.texi
doc/tour.texi
solutions/p1.patch
src/tests/threads/alarm-priority.c
src/tests/threads/alarm-priority.ck
src/tests/threads/priority-change.c
src/tests/threads/priority-condvar.c
src/tests/threads/priority-condvar.ck
src/tests/threads/priority-donate-multiple.c
src/tests/threads/priority-donate-multiple.ck
src/tests/threads/priority-donate-nest.c
src/tests/threads/priority-donate-nest.ck
src/tests/threads/priority-donate-one.c
src/tests/threads/priority-donate-one.ck
src/tests/threads/priority-fifo.c
src/tests/threads/priority-preempt.c
src/tests/threads/priority-sema.c
src/tests/threads/priority-sema.ck
src/threads/thread.c
src/threads/thread.h