Index: trunk/psModules/src/objects/pmSourceFitSet.h
===================================================================
--- trunk/psModules/src/objects/pmSourceFitSet.h	(revision 15562)
+++ trunk/psModules/src/objects/pmSourceFitSet.h	(revision 21163)
@@ -3,6 +3,6 @@
  * @author EAM, IfA; GLG, MHPCC
  *
- * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
- * @date $Date: 2007-11-10 01:09:20 $
+ * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
+ * @date $Date: 2009-01-24 20:52:26 $
  * Copyright 2004 Maui High Performance Computing Center, University of Hawaii
  */
@@ -19,9 +19,19 @@
     psArray *derivSet;
     int nParamSet;
+    pthread_t thread;
 } pmSourceFitSetData;
+
+// use this function to init the fit sets based on the number of threads
+bool pmSourceFitSetInit (int nThreads);
+void pmSourceFitSetDone ();
 
 // initialize data for a group of object models
 pmSourceFitSetData *pmSourceFitSetDataAlloc (psArray *modelSet);
 bool psMemCheckSourceFitSetData(psPtr ptr);
+
+// functions for selecting the FitSet corresponding to the current thread
+pmSourceFitSetData *pmSourceFitSetDataSet (psArray *modelSet);
+pmSourceFitSetData *pmSourceFitSetDataGet ();
+void pmSourceFitSetDataClear ();
 
 // function used to set limits for a group of models
