Invert the priority scheme, so that PRI_MIN is now the lowest priority
[pintos-anon] / src / threads / thread.c
index 16b8c8b692e8664b81bab789eb3eeb946e38f3b7..ca8a8b07e3fa54769d2068e482a2cb019c2ef563 100644 (file)
@@ -92,7 +92,7 @@ thread_init (void)
 void
 thread_start (void) 
 {
-  thread_create ("idle", PRI_MAX, idle, NULL);
+  thread_create ("idle", PRI_MIN, idle, NULL);
   intr_enable ();
 }