IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 3, 2009, 3:35:39 PM (17 years ago)
Author:
eugene
Message:

deactivate threading

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20090203/psphot/src/psphotMagnitudes.c

    r21274 r21277  
    1919        nThreads = 0;
    2020    }
     21    nThreads = 0;
    2122
    2223    // if backModel or backStdev are missing, the values of sky and/or skyErr will be set to NAN
     
    5960        for (int j = 0; j < cells->n; j++) {
    6061
    61             if (nThreads > 1) {
     62            if (nThreads) {
    6263                // allocate a job -- if threads are not defined, this just runs the job
    6364                psThreadJob *job = psThreadJobAlloc ("PSPHOT_MAGNITUDES");
     
    8990        }
    9091
    91         if (nThreads > 1) {
     92        if (nThreads) {
    9293            // wait for the threads to finish and manage results
    9394            if (!psThreadPoolWait (false)) {
Note: See TracChangeset for help on using the changeset viewer.