Index: trunk/psModules/src/imcombine/pmSubtractionThreads.h
===================================================================
--- trunk/psModules/src/imcombine/pmSubtractionThreads.h	(revision 18962)
+++ trunk/psModules/src/imcombine/pmSubtractionThreads.h	(revision 19059)
@@ -6,5 +6,15 @@
 
 /// Set up threading for image matching
-void pmSubtractionThreadSetup(void);
+///
+/// Sets up thread tasks, and initialises mutexes in readouts
+void pmSubtractionThreadsInit(pmReadout *out1, pmReadout *out2, // Output readouts
+                              pmReadout *in1, pmReadout *in2 // Input readouts
+    );
+
+
+/// Take down threading for image matching
+///
+/// Destroys thread tasks, and initialises mutexes in readouts
+void pmSubtractionThreadsFinalize(pmReadout *out1, pmReadout *out2, pmReadout *in1, pmReadout *in2);
 
 #endif
