IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 25, 2008, 3:03:46 PM (18 years ago)
Author:
Paul Price
Message:

Turn psImageConvolveMask threads on/off as required, and set back when done.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmSubtraction.c

    r20568 r20832  
    12381238    // and everything is executing psThreadPoolWait, waiting for some other mythical thread to complete the
    12391239    // thread's work.
    1240     psImageConvolveSetThreads(false);
     1240    bool oldThreads = psImageConvolveSetThreads(false); // Old value of threading for psImageConvolve
    12411241
    12421242    if (stride == 0) {
     
    13331333    }
    13341334
     1335    psImageConvolveSetThreads(oldThreads);
     1336
    13351337    psFree(sys1);
    13361338    psFree(sys2);
Note: See TracChangeset for help on using the changeset viewer.