Fixed memory leak inside ComlibStrategy/OneTimeMulticastStrategy. The message would
[charm.git] / src / ck-com / ComlibManager.ci
1 module comlib {
2   initproc void initConvComlibManager();
3 //  initproc void initCharmComlibManager();
4
5   message ComlibDummyMsg;
6   message ComlibMulticastMsg {
7     ComlibMulticastIndexCount indicesCount[];
8     CkArrayIndexMax indices[];
9     char usrMsg[];
10   };
11   //  message PrioMsg;
12
13   group [migratable] ComlibManager {
14     entry ComlibManager();
15
16     entry void barrier(void);
17     entry void resumeFromSetupBarrier();
18
19     entry void bracketedStartErrorRecoveryProcess(int instid, int step);         
20     entry void bracketedErrorDetected(int instid, int step);
21     entry void bracketedReceiveCount(int instid, int pe, int count, int isFirst, int step);
22     entry void bracketedConfirmCount(int instid, int step);
23     entry void bracketedCountConfirmed(int instid, int count, int step);
24     entry void bracketedReceiveNewCount(int instid, int step);
25     entry void bracketedDiscover(int instid, CkArrayID aid, CkArrayIndexMax &idx, int isSrc);
26     entry void bracketedContributeDiscovery(int instid, int pe, int nsrc, int ndest, int step);
27     entry void bracketedReceiveNewPeList(int instid, int step, int count[CkNumPes()]);
28     entry void bracketedReleaseCount(int instid, int step);
29     entry void bracketedReleaseBufferedMessages(int instid, int step);
30
31     entry void collectStats(ComlibLocalStats s, int src);
32   }
33
34   mainchare ComlibManagerMain {
35     entry ComlibManagerMain();  
36   }
37
38   PUPable EachToManyMulticastStrategy;  
39   PUPable DirectMulticastStrategy;
40   PUPable RingMulticastStrategy;        
41   PUPable MultiRingMulticastStrategy;
42   PUPable RectMulticastStrategy;
43   PUPable BroadcastStrategy;
44   PUPable PrioStreaming;
45   PUPable PipeBroadcastStrategy;
46  
47   PUPable OneTimeMulticastStrategy;     
48   PUPable OneTimeTreeMulticastStrategy;
49   PUPable OneTimeTopoTreeMulticastStrategy;
50   PUPable OneTimeRingMulticastStrategy;
51   PUPable OneTimeNodeTreeMulticastStrategy;
52   PUPable OneTimeNodeTreeRingMulticastStrategy;
53   PUPable OneTimeDimensionOrderedMulticastStrategy;
54
55   //PUPable CharmStrategy;
56   //PUPable MessageHolder;
57   //PUPable CharmMessageHolder;
58  //  PUPable ComlibArrayListener;
59
60 // PUPable DummyStrategy;
61 //  PUPable NodeMulticast;
62 //  PUPable StreamingStrategy;
63 //  PUPable MPIStrategy;
64 //  PUPable MeshStreamingStrategy;
65   
66 };