- Timestamp:
- May 3, 2010, 8:50:52 AM (16 years ago)
- Location:
- branches/simtest_nebulous_branches
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/simtest_nebulous_branches
- Property svn:mergeinfo changed
-
branches/simtest_nebulous_branches/Ohana
-
Property svn:mergeinfo
set to (toggle deleted branches)
/trunk/Ohana merged eligible /branches/eam_branches/Ohana.20100407 27635-27772 /branches/pap_delete/Ohana 27530-27595
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
branches/simtest_nebulous_branches/Ohana/src/opihi/pcontrol/CheckRespHost.c
r17476 r27840 32 32 host[0].response = NULL; 33 33 34 // host has shutdown; harvest the defunct process 34 // if want the host to be shutdown, accept the result 35 if (host[0].response_state == PCONTROL_RESP_DOWN_HOST) { 36 if (DEBUG) fprintf (stderr, "PCONTROL_RESP_DOWN_HOST\n"); 37 DownHostResponse (host); 38 return TRUE; 39 } 40 if (host[0].response_state == PCONTROL_RESP_STOP_HOST) { 41 if (DEBUG) fprintf (stderr, "PCONTROL_RESP_STOP_HOST\n"); 42 StopHostResponse (host); 43 return TRUE; 44 } 45 46 // host has unexpectedly shutdown; harvest the defunct process 35 47 HarvestHost (host[0].pid); 36 48 PutHost (host, PCONTROL_HOST_DOWN, STACK_BOTTOM); … … 47 59 48 60 case PCLIENT_GOOD: 49 if (VerboseMode()) gprint (GP_ERR, "message received (CheckRespHost)\n");50 61 break; 51 62 … … 80 91 break; 81 92 93 case PCONTROL_RESP_DOWN_HOST: 94 if (DEBUG) fprintf (stderr, "PCONTROL_RESP_DOWN_HOST\n"); 95 status = DownHostResponse (host); 96 break; 97 82 98 case PCONTROL_RESP_STOP_HOST: 83 99 if (DEBUG) fprintf (stderr, "PCONTROL_RESP_STOP_HOST\n");
Note:
See TracChangeset
for help on using the changeset viewer.
