Mercurial > hg > Members > kono > Cerium
diff TaskManager/Cell/CellTaskManagerImpl.cc @ 57:1f8a23cdeec3
*** empty log message ***
author | gongo |
---|---|
date | Sat, 16 Feb 2008 19:40:20 +0900 |
parents | |
children | f50c74835a9b |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TaskManager/Cell/CellTaskManagerImpl.cc Sat Feb 16 19:40:20 2008 +0900 @@ -0,0 +1,27 @@ +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include "CellTaskManagerImpl.h" +#include "types.h" + +void +CellTaskManagerImpl::init(void) +{ + TaskManagerImpl::init(); + + bufferManager = new CellBufferManager; + bufferManager->init(); +} + +void +CellTaskManagerImpl::spawn_task(HTaskPtr task) +{ + TaskManagerImpl::spawn_task(task); + //run(); +} + +TaskManagerImpl* +create_impl(int num) +{ + return new CellTaskManagerImpl(); +}