- Timestamp:
- Feb 3, 2009, 3:35:39 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20090203/psphot/src/psphotGuessModels.c
r21274 r21277 40 40 nThreads = 0; 41 41 } 42 //nThreads = 0; // XXX until testing is complete, do not thread this function42 nThreads = 0; // XXX until testing is complete, do not thread this function 43 43 44 44 // bit-masks to test for good/bad pixels … … 68 68 for (int j = 0; j < cells->n; j++) { 69 69 70 if (nThreads > 1) {70 if (nThreads) { 71 71 // allocate a job -- if threads are not defined, this just runs the job 72 72 psThreadJob *job = psThreadJobAlloc ("PSPHOT_GUESS_MODEL"); … … 93 93 } 94 94 95 if (nThreads > 1) {95 if (nThreads) { 96 96 // wait for the threads to finish and manage results 97 97 // wait here for the threaded jobs to finish
Note:
See TracChangeset
for help on using the changeset viewer.
