a better migratable constructor for CkReductionMgr
authorGengbin Zheng <gzheng@illinois.edu>
Thu, 6 Dec 2007 16:50:07 +0000 (16:50 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Thu, 6 Dec 2007 16:50:07 +0000 (16:50 +0000)
src/ck-core/ckreduction.C

index f18274ccab639d864d6a0d85fb50ab02637b6397..e3fa8e14c483bd71554aa07e49293116788165fd 100644 (file)
@@ -185,7 +185,15 @@ CkReductionMgr::CkReductionMgr()//Constructor
 
 CkReductionMgr::CkReductionMgr(CkMigrateMessage *m) :CkGroupInitCallback(m)
 {
+  redNo=0;
+  completedRedNo = -1;
+  inProgress=CmiFalse;
+  creating=CmiFalse;
+  startRequested=CmiFalse;
   gcount=lcount=0;
+  nContrib=nRemote=0;
+  maxStartRequest=0;
+  DEBR((AA"In reductionMgr migratable constructor at %d \n"AB,this));
 }
 
 void CkReductionMgr::flushStates()