Changeset 21277 for branches/eam_branch_20090203/psphot/src/psphotApResid.c
- Timestamp:
- Feb 3, 2009, 3:35:39 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20090203/psphot/src/psphotApResid.c
r21274 r21277 31 31 nThreads = 0; 32 32 } 33 nThreads = 0; 33 34 34 35 bool measureAptrend = psMetadataLookupBool (&status, recipe, "MEASURE.APTREND"); … … 95 96 for (int j = 0; j < cells->n; j++) { 96 97 97 if (nThreads > 1) {98 if (nThreads) { 98 99 // allocate a job -- if threads are not defined, this just runs the job 99 100 psThreadJob *job = psThreadJobAlloc ("PSPHOT_APRESID_MAGS"); … … 127 128 } 128 129 129 if (nThreads > 1) {130 if (nThreads) { 130 131 // wait for the threads to finish and manage results 131 132 if (!psThreadPoolWait (false)) {
Note:
See TracChangeset
for help on using the changeset viewer.
