IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 12, 2006, 10:45:22 AM (20 years ago)
Author:
eugene
Message:

better solution for hung hosts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pcontrol/KillJob.c

    r10659 r10661  
    3131    case PCLIENT_HUNG:
    3232      // don't do anything drastic, just keep trying
    33       if (VerboseMode()) gprint (GP_ERR, "client is busy, not responding");
     33      // XXX move to which stack??
     34      gprint (GP_ERR, "client is busy, not responding (KillJob)");
    3435      FreeIOBuffer (&buffer);
    3536      return (TRUE);
    36 
    37 # if (0)
    38       HarvestHost (host[0].pid);
    39       // unlink host & job
    40       job[0].host = NULL;
    41       host[0].job = NULL;
    42       PutHost (host, PCONTROL_HOST_DOWN, STACK_BOTTOM);
    43       PutJobSetState (job, PCONTROL_JOB_PENDING, STACK_BOTTOM, PCONTROL_JOB_HUNG);
    44       FreeIOBuffer (&buffer);
    45       return (TRUE);
    46 # endif
    4737
    4838    case PCLIENT_GOOD:
Note: See TracChangeset for help on using the changeset viewer.