- Timestamp:
- Jun 27, 2018, 3:20:35 PM (8 years ago)
- Location:
- branches/czw_branch/20170908/Ohana
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/opihi/pantasks/JobOps.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20170908/Ohana
- Property svn:mergeinfo changed
-
branches/czw_branch/20170908/Ohana/src/opihi/pantasks/JobOps.c
r38559 r40477 41 41 42 42 /* return job with given ID */ 43 Job *FindJob ( intJobID) {43 Job *FindJob (IDtype JobID) { 44 44 45 45 int i; … … 55 55 56 56 /* return job with given controller Job ID */ 57 Job *FindControllerJob ( intJobID) {57 Job *FindControllerJob (IDtype JobID) { 58 58 59 59 int i; … … 82 82 gprint (GP_LOG, " Jobs in Pantasks Queue\n"); 83 83 for (i = 0; i < Njobs; i++) { 84 gprint (GP_LOG, " %4d % 6d: %-25s %10s %20s\n", Njobs, jobs[i][0].JobID, jobs[i][0].task[0].name, JobStateToString(jobs[i][0].state), jobs[i][0].argv[0]);84 gprint (GP_LOG, " %4d %8d: %-25s %10s %20s\n", Njobs, jobs[i][0].JobID, jobs[i][0].task[0].name, JobStateToString(jobs[i][0].state), jobs[i][0].argv[0]); 85 85 } 86 86 … … 97 97 98 98 job[0].JobID = NextJobID (); 99 100 // this should not happen; abort? 99 101 if (job[0].JobID < 0) { 100 102 free (job); … … 165 167 if (job == NULL) return; 166 168 167 FreeJobID (job[0].JobID);168 169 169 for (i = 0; i < job[0].argc; i++) { 170 170 free (job[0].argv[i]);
Note:
See TracChangeset
for help on using the changeset viewer.
