Changeset 4684 for trunk/Ohana/src/opihi/pantasks/kill.c
- Timestamp:
- Jul 31, 2005, 8:04:11 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pantasks/kill.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pantasks/kill.c
r4552 r4684 12 12 JobID = atoi (argv[1]); 13 13 14 /* not yet implemented */14 job = FindJob (JobID); 15 15 16 if (job[0].mode == JOB_LOCAL) { 17 if (!KillLocalJob (job)) { 18 job[0].state = JOB_HUNG; 19 if (VerboseMode()) fprintf (stderr, "child process %d is hung, cannot kill\n", job[0].pid); 20 return (FALSE); 21 } 22 } else { 23 if (!KillControllerJob (job)) { 24 job[0].state = JOB_HUNG; 25 if (VerboseMode()) fprintf (stderr, "child process %d is hung, cannot kill\n", job[0].pid); 26 return (FALSE); 27 } 28 } 29 16 30 fprintf (stderr, "this function is not yet implemented\n"); 17 31 return (TRUE);
Note:
See TracChangeset
for help on using the changeset viewer.
