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