annotate TaskManager/Cell/CellTaskManagerImpl.cc @ 61:6bc72fde6615

*** empty log message ***
author gongo
date Sat, 16 Feb 2008 20:19:31 +0900
parents f50c74835a9b
children 519d24aa7ac8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
57
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
1 #include <stdio.h>
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
2 #include <stdlib.h>
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
3 #include <string.h>
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
4 #include "CellTaskManagerImpl.h"
61
6bc72fde6615 *** empty log message ***
gongo
parents: 60
diff changeset
5 #include "CellBufferManager.h"
57
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
6 #include "types.h"
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
7
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
8 void
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
9 CellTaskManagerImpl::init(void)
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
10 {
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
11 TaskManagerImpl::init();
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
12
60
f50c74835a9b *** empty log message ***
gongo
parents: 57
diff changeset
13 bufferManager = new CellBufferManager();
57
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
14 bufferManager->init();
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
15 }
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
16
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
17 void
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
18 CellTaskManagerImpl::spawn_task(HTaskPtr task)
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
19 {
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
20 TaskManagerImpl::spawn_task(task);
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
21 //run();
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
22 }
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
23
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
24 TaskManagerImpl*
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
25 create_impl(int num)
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
26 {
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
27 return new CellTaskManagerImpl();
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
28 }