Invert the priority scheme, so that PRI_MIN is now the lowest priority
[pintos-anon] / src / threads / thread.h
index 2043d8dc86e251bbd8c0492aaabc8266e935c3b9..fbef34b4673720b2f62bf3a80d1e08eadb441aa3 100644 (file)
@@ -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.