- Timestamp:
- Feb 3, 2009, 3:35:39 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20090203/psphot/src/psphotMagnitudes.c
r21274 r21277 19 19 nThreads = 0; 20 20 } 21 nThreads = 0; 21 22 22 23 // if backModel or backStdev are missing, the values of sky and/or skyErr will be set to NAN … … 59 60 for (int j = 0; j < cells->n; j++) { 60 61 61 if (nThreads > 1) {62 if (nThreads) { 62 63 // allocate a job -- if threads are not defined, this just runs the job 63 64 psThreadJob *job = psThreadJobAlloc ("PSPHOT_MAGNITUDES"); … … 89 90 } 90 91 91 if (nThreads > 1) {92 if (nThreads) { 92 93 // wait for the threads to finish and manage results 93 94 if (!psThreadPoolWait (false)) {
Note:
See TracChangeset
for help on using the changeset viewer.
