Permalink
Browse files

fix 4

  • Loading branch information...
1 parent 3da04ed commit bfe8bb30d4068673148f7a57bbdf0622a526f2fa @grantborthwick committed Oct 4, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/tests/threads/alarm-negative.c
View
4 src/tests/threads/alarm-negative.c
@@ -34,9 +34,9 @@ test_alarm_negative (void)
printf("starter! (%d)%s\n",(thread_current ()->priority),(thread_current ()->name)); */
thread_set_priority (PRI_MIN);
printf("I am the lowest thread. Now I start some more!(%d)%s\n",(thread_current ()->priority),(thread_current ()->name));
- for (i = 1; i < 10; i++)
+ for (i = 1; i < 63; i++)
{
- int priority = PRI_DEFAULT + i; //definitely weird order and sema down before others.
+ int priority = i; //definitely weird order and sema down before others.
char name[16];
snprintf (name, sizeof name, "priority %d", priority);
thread_create (name, priority, alarm_priority_thread, NULL);

0 comments on commit bfe8bb3

Please sign in to comment.