annotate TaskManager/Fifo/FifoTaskManagerImpl.cc @ 58:7492eb28b577

*** empty log message ***
author gongo
date Sat, 16 Feb 2008 19:40:20 +0900
parents 8266445bdac2
children 5c194c71eca8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
1 #include <stdio.h>
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
2 #include <stdlib.h>
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
3 #include <string.h>
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
4 #include "FifoTaskManagerImpl.h"
47
8266445bdac2 *** empty log message ***
gongo
parents: 42
diff changeset
5 #include "types.h"
3
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
6
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
7 void
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
8 FifoTaskManagerImpl::init(void)
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
9 {
42
aa11038dbdc1 *** empty log message ***
gongo
parents: 22
diff changeset
10 TaskManagerImpl::init();
aa11038dbdc1 *** empty log message ***
gongo
parents: 22
diff changeset
11
58
7492eb28b577 *** empty log message ***
gongo
parents: 47
diff changeset
12 bufferManager = new BufferManager;
7492eb28b577 *** empty log message ***
gongo
parents: 47
diff changeset
13 bufferManager->init();
3
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
14 }
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
15
14
41ccd4b38184 *** empty log message ***
gongo
parents: 10
diff changeset
16 void
18
0c9341da4522 *** empty log message ***
gongo
parents: 14
diff changeset
17 FifoTaskManagerImpl::spawn_task(HTaskPtr task)
14
41ccd4b38184 *** empty log message ***
gongo
parents: 10
diff changeset
18 {
18
0c9341da4522 *** empty log message ***
gongo
parents: 14
diff changeset
19 TaskManagerImpl::spawn_task(task);
14
41ccd4b38184 *** empty log message ***
gongo
parents: 10
diff changeset
20 //run();
41ccd4b38184 *** empty log message ***
gongo
parents: 10
diff changeset
21 }
41ccd4b38184 *** empty log message ***
gongo
parents: 10
diff changeset
22
3
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
23 TaskManagerImpl*
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
24 create_impl(int num)
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
25 {
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
26 return new FifoTaskManagerImpl();
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
27 }