IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19340


Ignore:
Timestamp:
Sep 3, 2008, 11:43:51 AM (18 years ago)
Author:
Paul Price
Message:

Don't need mutexes on output images.

Location:
trunk/psModules/src/imcombine
Files:
2 edited

Legend:

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

    r19059 r19340  
    5050}
    5151
    52 void pmSubtractionThreadsInit(pmReadout *out1, pmReadout *out2, pmReadout *in1, pmReadout *in2)
     52void pmSubtractionThreadsInit(pmReadout *in1, pmReadout *in2)
    5353{
    5454    if (threaded) {
     
    5858    threaded = true;
    5959
    60     subtractionMutexInit(out1);
    61     subtractionMutexInit(out2);
    6260    subtractionMutexInit(in1);
    6361    subtractionMutexInit(in2);
     
    8886
    8987
    90 void pmSubtractionThreadsFinalize(pmReadout *out1, pmReadout *out2, pmReadout *in1, pmReadout *in2)
     88void pmSubtractionThreadsFinalize(pmReadout *in1, pmReadout *in2)
    9189{
    9290    if (!threaded) {
     
    9997    psThreadTaskRemove("PSMODULES_SUBTRACTION_CONVOLVE");
    10098
    101     subtractionMutexDestroy(out1);
    102     subtractionMutexDestroy(out2);
    10399    subtractionMutexDestroy(in1);
    104100    subtractionMutexDestroy(in1);
  • trunk/psModules/src/imcombine/pmSubtractionThreads.h

    r19059 r19340  
    88///
    99/// Sets up thread tasks, and initialises mutexes in readouts
    10 void pmSubtractionThreadsInit(pmReadout *out1, pmReadout *out2, // Output readouts
    11                               pmReadout *in1, pmReadout *in2 // Input readouts
     10void pmSubtractionThreadsInit(pmReadout *in1, pmReadout *in2 // Input readouts
    1211    );
    1312
     
    1615///
    1716/// Destroys thread tasks, and initialises mutexes in readouts
    18 void pmSubtractionThreadsFinalize(pmReadout *out1, pmReadout *out2, pmReadout *in1, pmReadout *in2);
     17void pmSubtractionThreadsFinalize(pmReadout *in1, pmReadout *in2);
    1918
    2019#endif
Note: See TracChangeset for help on using the changeset viewer.