- Timestamp:
- Feb 3, 2009, 3:35:39 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20090203/psphot/src/psphotSourceStats.c
r21274 r21277 19 19 nThreads = 0; 20 20 } 21 nThreads = 0; 21 22 22 23 // determine properties (sky, moments) of initial sources … … 80 81 for (int j = 0; j < cells->n; j++) { 81 82 82 if (nThreads > 1) {83 if (nThreads) { 83 84 // allocate a job -- if threads are not defined, this just runs the job 84 85 psThreadJob *job = psThreadJobAlloc ("PSPHOT_SOURCE_STATS"); … … 107 108 } 108 109 109 if (nThreads > 1) {110 if (nThreads) { 110 111 // wait for the threads to finish and manage results 111 112 if (!psThreadPoolWait (false)) {
Note:
See TracChangeset
for help on using the changeset viewer.
