Changeset 4684 for trunk/Ohana/src/opihi/pcontrol/kill.c
- Timestamp:
- Jul 31, 2005, 8:04:11 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pcontrol/kill.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pcontrol/kill.c
r4450 r4684 12 12 JobID = atoi (argv[1]); 13 13 14 /* XXX this function should only fail if a process is hung */ 14 15 job = PullJob (JobID, PCONTROL_JOB_BUSY); 15 16 if (job == NULL) { 16 17 fprintf (stderr, "job %s not BUSY\n", argv[1]); 18 /* make output message more readable by scheduler */ 17 19 return (FALSE); 18 20 } 21 22 /* XXX - check on success / failure of kill */ 19 23 KillJob (job); 24 20 25 return (TRUE); 21 26 }
Note:
See TracChangeset
for help on using the changeset viewer.
