diff TaskManager/kernel/schedule/Scheduler.cc @ 458:1c767b68d936

add ovly table tag modified
author kono@localhost.localdomain
date Sun, 27 Sep 2009 17:57:33 +0900
parents 95dbf6bd8cd9
children 942f451341a4
line wrap: on
line diff
--- a/TaskManager/kernel/schedule/Scheduler.cc	Sat Sep 26 02:55:41 2009 +0900
+++ b/TaskManager/kernel/schedule/Scheduler.cc	Sun Sep 27 17:57:33 2009 +0900
@@ -491,9 +491,10 @@
 uint32
 Scheduler::get_tag()
 {
-    static int tag = 0;
-    tag = tag++ & 0x0f;
-    return tag;
+    static int tag = 16;
+    tag ++;
+    tag &= 0x0f;
+    return tag+16;
 }
 
 /*!