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/psphotApResid.c

    r21274 r21277  
    3131        nThreads = 0;
    3232    }
     33    nThreads = 0;
    3334
    3435    bool measureAptrend = psMetadataLookupBool (&status, recipe, "MEASURE.APTREND");
     
    9596        for (int j = 0; j < cells->n; j++) {
    9697
    97             if (nThreads > 1) {
     98            if (nThreads) {
    9899                // allocate a job -- if threads are not defined, this just runs the job
    99100                psThreadJob *job = psThreadJobAlloc ("PSPHOT_APRESID_MAGS");
     
    127128        }
    128129
    129         if (nThreads > 1) {
     130        if (nThreads) {
    130131            // wait for the threads to finish and manage results
    131132            if (!psThreadPoolWait (false)) {
Note: See TracChangeset for help on using the changeset viewer.