Mercurial > hg > Game > Cerium
changeset 824:a75ccd570a57 draft
Thread.h fix?
author | yutaka@localhost.localdomain |
---|---|
date | Mon, 24 May 2010 23:51:40 +0900 |
parents | d0361d459338 |
children | b1cda71d31b5 |
files | TaskManager/Cell/SpeThreads.cc TaskManager/kernel/ppe/Threads.h |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/TaskManager/Cell/SpeThreads.cc Sun May 23 17:14:50 2010 +0900 +++ b/TaskManager/Cell/SpeThreads.cc Mon May 24 23:51:40 2010 +0900 @@ -3,6 +3,7 @@ #include "SpeThreads.h" #include "Scheduler.h" + SpeThreads::SpeThreads(int num) : cpu_num(num) {} SpeThreads::~SpeThreads(void)
--- a/TaskManager/kernel/ppe/Threads.h Sun May 23 17:14:50 2010 +0900 +++ b/TaskManager/kernel/ppe/Threads.h Mon May 24 23:51:40 2010 +0900 @@ -7,8 +7,8 @@ class Threads { public: /* constructor */ - Threads(int num = 1); - virtual ~Threads(); + Threads(int num = 1) {}; + virtual ~Threads() {}; /* functions */ virtual void init() = 0;