57
|
1 #include <stdio.h>
|
|
2 #include <stdlib.h>
|
|
3 #include <string.h>
|
|
4 #include "CellTaskManagerImpl.h"
|
61
|
5 #include "CellBufferManager.h"
|
57
|
6 #include "types.h"
|
|
7
|
|
8 void
|
|
9 CellTaskManagerImpl::init(void)
|
|
10 {
|
|
11 TaskManagerImpl::init();
|
|
12
|
60
|
13 bufferManager = new CellBufferManager();
|
57
|
14 bufferManager->init();
|
|
15 }
|
|
16
|
|
17 void
|
|
18 CellTaskManagerImpl::spawn_task(HTaskPtr task)
|
|
19 {
|
|
20 TaskManagerImpl::spawn_task(task);
|
|
21 //run();
|
|
22 }
|
|
23
|
|
24 TaskManagerImpl*
|
|
25 create_impl(int num)
|
|
26 {
|
|
27 return new CellTaskManagerImpl();
|
|
28 }
|