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

    r21274 r21277  
    4040        nThreads = 0;
    4141    }
    42     // nThreads = 0; // XXX until testing is complete, do not thread this function
     42    nThreads = 0; // XXX until testing is complete, do not thread this function
    4343
    4444    // bit-masks to test for good/bad pixels
     
    6868        for (int j = 0; j < cells->n; j++) {
    6969
    70             if (nThreads > 1) {
     70            if (nThreads) {
    7171                // allocate a job -- if threads are not defined, this just runs the job
    7272                psThreadJob *job = psThreadJobAlloc ("PSPHOT_GUESS_MODEL");
     
    9393        }
    9494
    95         if (nThreads > 1) {
     95        if (nThreads) {
    9696            // wait for the threads to finish and manage results
    9797            // wait here for the threaded jobs to finish
Note: See TracChangeset for help on using the changeset viewer.