Mercurial > hg > Game > Cerium
diff TaskManager/Cell/CellTaskManagerImpl.cc @ 67:7d2874fb0671
*** empty log message ***
author | gongo |
---|---|
date | Sun, 17 Feb 2008 19:04:29 +0900 |
parents | 1034077dd217 |
children | 178459e03f5c |
line wrap: on
line diff
--- a/TaskManager/Cell/CellTaskManagerImpl.cc Sun Feb 17 18:29:08 2008 +0900 +++ b/TaskManager/Cell/CellTaskManagerImpl.cc Sun Feb 17 19:04:29 2008 +0900 @@ -6,6 +6,11 @@ #include "types.h" #include "error.h" +CellTaskManagerImpl::CellTaskManagerImpl(int num) +{ + machineNum = num; +} + void CellTaskManagerImpl::init(void) { @@ -41,10 +46,6 @@ __debug_ppe("[PPE] recv from [SPE %d] : 0x%x\n", data, id); bufferManager->check_task_finish((HTaskPtr)data); } - - send = (unsigned int)id; - //¥ئ¥¹¥بحر - speThreads->send_mail(id, &send); } } @@ -55,5 +56,5 @@ TaskManagerImpl* create_impl(int num) { - return new CellTaskManagerImpl(); + return new CellTaskManagerImpl(num); }