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

    r21275 r21277  
    2323        nThreads = 0;
    2424    }
     25    nThreads = 0;
    2526
    2627    // source fitting parameters for extended source fits
     
    6465        for (int j = 0; j < cells->n; j++) {
    6566
    66             if (nThreads > 1) {
     67            if (nThreads) {
    6768                // allocate a job -- if threads are not defined, this just runs the job
    6869                psThreadJob *job = psThreadJobAlloc ("PSPHOT_BLEND_FIT");
     
    111112        }
    112113
    113         if (nThreads > 1) {
     114        if (nThreads) {
    114115            // wait for the threads to finish and manage results
    115116            if (!psThreadPoolWait (false)) {
Note: See TracChangeset for help on using the changeset viewer.