IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 11, 2006, 4:51:50 PM (20 years ago)
Author:
eugene
Message:

working on threaded version

File:
1 edited

Legend:

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

    r7917 r8296  
    1313
    1414  /* XXX this function should only fail if a process is hung */
    15   job = PullJob (JobID, PCONTROL_JOB_BUSY);
     15  job = PullJobFromStackByID (PCONTROL_JOB_BUSY, JobID);
    1616  if (job == NULL) {
    1717    gprint (GP_ERR, "job %s not BUSY\n", argv[1]);
     
    2020  }
    2121
    22   /* XXX - check on success / failure of kill */
    23   KillJob (job);
    24 
     22  PutJob (job, PCONTROL_JOB_KILL, STACK_BOTTOM);
    2523  return (TRUE);
    2624}
Note: See TracChangeset for help on using the changeset viewer.