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

    r21274 r21277  
    1919        nThreads = 0;
    2020    }
     21    nThreads = 0;
    2122
    2223    // determine properties (sky, moments) of initial sources
     
    8081        for (int j = 0; j < cells->n; j++) {
    8182
    82             if (nThreads > 1) {
     83            if (nThreads) {
    8384                // allocate a job -- if threads are not defined, this just runs the job
    8485                psThreadJob *job = psThreadJobAlloc ("PSPHOT_SOURCE_STATS");
     
    107108        }
    108109
    109         if (nThreads > 1) {
     110        if (nThreads) {
    110111            // wait for the threads to finish and manage results
    111112            if (!psThreadPoolWait (false)) {
Note: See TracChangeset for help on using the changeset viewer.