X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fthreads%2Fthread.h;h=fbef34b4673720b2f62bf3a80d1e08eadb441aa3;hb=225e6b43b823eec0f3eef093f697c0b62538344f;hp=2043d8dc86e251bbd8c0492aaabc8266e935c3b9;hpb=c51576b5aedc01da14c5f29527884f4bea49d544;p=pintos-anon diff --git a/src/threads/thread.h b/src/threads/thread.h index 2043d8d..fbef34b 100644 --- a/src/threads/thread.h +++ b/src/threads/thread.h @@ -20,9 +20,9 @@ typedef int tid_t; #define TID_ERROR ((tid_t) -1) /* Error value for tid_t. */ /* Thread priorities. */ -#define PRI_MIN 0 /* Highest priority. */ +#define PRI_MIN 0 /* Lowest priority. */ #define PRI_DEFAULT 31 /* Default priority. */ -#define PRI_MAX 63 /* Lowest priority. */ +#define PRI_MAX 63 /* Highest priority. */ /* A kernel thread or user process.