- Timestamp:
- Feb 3, 2009, 3:35:39 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20090203/psphot/src/psphotBlendFit.c
r21275 r21277 23 23 nThreads = 0; 24 24 } 25 nThreads = 0; 25 26 26 27 // source fitting parameters for extended source fits … … 64 65 for (int j = 0; j < cells->n; j++) { 65 66 66 if (nThreads > 1) {67 if (nThreads) { 67 68 // allocate a job -- if threads are not defined, this just runs the job 68 69 psThreadJob *job = psThreadJobAlloc ("PSPHOT_BLEND_FIT"); … … 111 112 } 112 113 113 if (nThreads > 1) {114 if (nThreads) { 114 115 // wait for the threads to finish and manage results 115 116 if (!psThreadPoolWait (false)) {
Note:
See TracChangeset
for help on using the changeset viewer.
