Changeset 19340
- Timestamp:
- Sep 3, 2008, 11:43:51 AM (18 years ago)
- Location:
- trunk/psModules/src/imcombine
- Files:
-
- 2 edited
-
pmSubtractionThreads.c (modified) (4 diffs)
-
pmSubtractionThreads.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/imcombine/pmSubtractionThreads.c
r19059 r19340 50 50 } 51 51 52 void pmSubtractionThreadsInit(pmReadout * out1, pmReadout *out2, pmReadout *in1, pmReadout *in2)52 void pmSubtractionThreadsInit(pmReadout *in1, pmReadout *in2) 53 53 { 54 54 if (threaded) { … … 58 58 threaded = true; 59 59 60 subtractionMutexInit(out1);61 subtractionMutexInit(out2);62 60 subtractionMutexInit(in1); 63 61 subtractionMutexInit(in2); … … 88 86 89 87 90 void pmSubtractionThreadsFinalize(pmReadout * out1, pmReadout *out2, pmReadout *in1, pmReadout *in2)88 void pmSubtractionThreadsFinalize(pmReadout *in1, pmReadout *in2) 91 89 { 92 90 if (!threaded) { … … 99 97 psThreadTaskRemove("PSMODULES_SUBTRACTION_CONVOLVE"); 100 98 101 subtractionMutexDestroy(out1);102 subtractionMutexDestroy(out2);103 99 subtractionMutexDestroy(in1); 104 100 subtractionMutexDestroy(in1); -
trunk/psModules/src/imcombine/pmSubtractionThreads.h
r19059 r19340 8 8 /// 9 9 /// 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 10 void pmSubtractionThreadsInit(pmReadout *in1, pmReadout *in2 // Input readouts 12 11 ); 13 12 … … 16 15 /// 17 16 /// Destroys thread tasks, and initialises mutexes in readouts 18 void pmSubtractionThreadsFinalize(pmReadout * out1, pmReadout *out2, pmReadout *in1, pmReadout *in2);17 void pmSubtractionThreadsFinalize(pmReadout *in1, pmReadout *in2); 19 18 20 19 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
