diff TaskManager/kernel/ppe/TaskLog.h @ 1428:af2adce9752e draft

add to export TaskLog
author Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
date Wed, 28 Mar 2012 01:36:31 +0900
parents 0ce6c6880b4b
children 9b0908cb7553
line wrap: on
line diff
--- a/TaskManager/kernel/ppe/TaskLog.h	Sun Mar 11 19:31:16 2012 +0900
+++ b/TaskManager/kernel/ppe/TaskLog.h	Wed Mar 28 01:36:31 2012 +0900
@@ -1,7 +1,6 @@
 #ifndef INCLUDED_TASKLOG
 #define INCLUDED_TASKLOG
 
-#include "HTask.h"
 #include "QueueInfo.h"
 
 struct waitTask {
@@ -34,6 +33,11 @@
         task_id++;
     }
 
+    void set_cmd(int _cmd) {
+        cmd = _cmd;
+    }
+
+
 private:
     // Unique id
     static int task_id;