Registering merge function to avoid crash on shutdown
authorFilippo Gioachin <gioachin@uiuc.edu>
Fri, 2 Jul 2010 23:45:27 +0000 (18:45 -0500)
committerFilippo Gioachin <gioachin@uiuc.edu>
Fri, 2 Jul 2010 23:45:27 +0000 (18:45 -0500)
src/ck-core/debug-charm.C

index 236f06b94c6c93dd6aa492acfb10351cdda0ca57..92f424b89ec556fe72026dce818a5f1204508c18 100644 (file)
@@ -1000,6 +1000,7 @@ void CpdCharmInit()
   CcsRegisterHandler("ccs_continue_break_point",(CmiHandler)CpdContinueFromBreakPoint);
   CcsRegisterHandler("ccs_single_step",(CmiHandler)CpdDeliverSingleMessage);
   CcsRegisterHandler("ccs_debug_quit",(CmiHandler)CpdQuitDebug);
+  CcsSetMergeFn("ccs_debug_quit",CmiReduceMergeFn_random);
   CcsRegisterHandler("ccs_debug_startgdb",(CmiHandler)CpdStartGdb);
   CpdListRegister(new CpdListAccessor_c("hostinfo",hostInfoLength,0,hostInfo,0));
   CpdListRegister(new CpdList_localQ());