Changeset 25429 for trunk/ippTasks/dist.pro
- Timestamp:
- Sep 17, 2009, 10:04:08 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/dist.pro (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/dist.pro
r25113 r25429 16 16 $distQueue_DB = 0 17 17 18 ### list of stages 19 #list of stages 20 $STAGE:n = 0 21 list STAGE -add "raw" 22 list STAGE -add "chip" 23 list STAGE -add "camera" 24 list STAGE -add "fake" 25 list STAGE -add "warp" 26 list STAGE -add "diff" 27 list STAGE -add "stack" 28 29 $currentStage = 0 30 18 31 ### Check status of tasks 19 32 macro dist.status … … 78 91 79 92 task.exec 80 $run = disttool -pendingcomponent 93 $run = disttool -pendingcomponent -stage $STAGE:$currentStage 94 $currentStage ++ 95 if ($currentStage >= $STAGE:n) set currentStage = 0 81 96 if ($DB:n == 0) 82 97 option DEFAULT … … 85 100 option $DB:$distToProcess_DB 86 101 $run = $run -dbname $DB:$distToProcess_DB 87 $distToProcess_DB ++ 88 if ($distToProcess_DB >= $DB:n) set distToProcess_DB = 0 102 103 # only increment the database number after we have gone through all of 104 # the stages 105 if ($currentStage == 0) 106 $distToProcess_DB ++ 107 if ($distToProcess_DB >= $DB:n) set distToProcess_DB = 0 108 end 89 109 end 90 110 add_poll_args run
Note:
See TracChangeset
for help on using the changeset viewer.
