annotate TaskManager/Cell/CellTaskManagerImpl.cc @ 60:f50c74835a9b

*** empty log message ***
author gongo
date Sat, 16 Feb 2008 20:05:35 +0900
parents 1f8a23cdeec3
children 6bc72fde6615
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"
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
5 #include "types.h"
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
6
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
7 void
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
8 CellTaskManagerImpl::init(void)
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
9 {
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
10 TaskManagerImpl::init();
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
11
60
f50c74835a9b *** empty log message ***
gongo
parents: 57
diff changeset
12 bufferManager = new CellBufferManager();
57
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
13 bufferManager->init();
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
14 }
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
15
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
16 void
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
17 CellTaskManagerImpl::spawn_task(HTaskPtr task)
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
18 {
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
19 TaskManagerImpl::spawn_task(task);
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
20 //run();
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
21 }
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
22
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
23 TaskManagerImpl*
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
24 create_impl(int num)
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
25 {
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
26 return new CellTaskManagerImpl();
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
27 }