
00001 extern void (*notify_crash_fn)(int); 00002 00007 static void crash_node_handle(ChMessage *m){ 00008 ChMessageInt_t *d = (ChMessageInt_t *)m->data; 00009 int crashed_node = ChMessageInt(d[0]); 00010 #if CMK_MEM_CHECKPOINT 00011 if (notify_crash_fn!=NULL) notify_crash_fn(crashed_node); 00012 #endif 00013 /* tell charmrun we knew */ 00014 ctrl_sendone_nolock("crash_ack",NULL,0,NULL,0); 00015 // fprintf(stdout,"[%d] got crash mesg for %d \n",CmiMyPe(),crashed_node); 00016 } 00017
1.5.5