changeset 1875:2f04c761bf9f draft

fix prority
author Kohagura
date Mon, 30 Dec 2013 20:16:36 +0900
parents 039e6d5cf5b7
children 5e17ab506299 f73ca57cdc81
files TaskManager/kernel/ppe/CpuThreads.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/TaskManager/kernel/ppe/CpuThreads.cc	Mon Dec 30 20:14:33 2013 +0900
+++ b/TaskManager/kernel/ppe/CpuThreads.cc	Mon Dec 30 20:16:36 2013 +0900
@@ -71,7 +71,7 @@
 	int policy;
 	struct sched_param param;
         pthread_getschedparam(pthread_self(), &policy, &param);
-        param.sched_priority = argt->priority = 1;
+        param.sched_priority = 1;
         pthread_setschedparam(pthread_self(), policy, &param);
     }