Changeset 11055 for trunk/Ohana/src/opihi/pantasks/CheckTasks.c
- Timestamp:
- Jan 11, 2007, 4:51:41 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pantasks/CheckTasks.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pantasks/CheckTasks.c
r10694 r11055 18 18 if (!CheckTimeRanges (task[0].ranges, task[0].Nranges)) continue; 19 19 if (task[0].Nmax && (task[0].Njobs >= task[0].Nmax)) continue; 20 if (task[0].NpendingMax && (task[0].Npending >= task[0].NpendingMax)) continue; 20 21 21 22 /* ready to run? : run task.exec macro */ … … 35 36 gettimeofday (&task[0].last, (void *) NULL); 36 37 task[0].Njobs ++; 38 task[0].Npending ++; 37 39 38 40 /* increment Nrun for inclusive ranges with Nmax */
Note:
See TracChangeset
for help on using the changeset viewer.
