IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 31, 2005, 8:04:11 AM (21 years ago)
Author:
eugene
Message:

task/job list cleanup, fixing kill/delete

File:
1 edited

Legend:

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

    r4450 r4684  
    1212  JobID = atoi (argv[1]);
    1313
     14  /* XXX this function should only fail if a process is hung */
    1415  job = PullJob (JobID, PCONTROL_JOB_BUSY);
    1516  if (job == NULL) {
    1617    fprintf (stderr, "job %s not BUSY\n", argv[1]);
     18    /* make output message more readable by scheduler */
    1719    return (FALSE);
    1820  }
     21
     22  /* XXX - check on success / failure of kill */
    1923  KillJob (job);
     24
    2025  return (TRUE);
    2126}
Note: See TracChangeset for help on using the changeset viewer.