Index: trunk/psLib/src/sys/psThread.h
===================================================================
--- trunk/psLib/src/sys/psThread.h	(revision 19022)
+++ trunk/psLib/src/sys/psThread.h	(revision 19057)
@@ -4,6 +4,6 @@
  *
  *  @author EAM, IFA
- *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2008-08-12 03:28:37 $
+ *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2008-08-14 03:22:13 $
  *
  *  Copyright 2004-2005 Insitute for Astronomy, University of Hawaii
@@ -12,4 +12,8 @@
 #ifndef PS_THREAD_H
 #define PS_THREAD_H
+
+#include <pthread.h>
+#include "psString.h"
+#include "psArray.h"
 
 /// @addtogroup SysUtils System Utilities
@@ -87,5 +91,5 @@
 
 /// Remove a task from the list
-bool psThreadTaskDelete(const char *type // Task type to remove
+bool psThreadTaskRemove(const char *type // Task type to remove
     );
 
@@ -111,4 +115,25 @@
 bool psThreadPoolFinalize(void);
 
+
+/// Add thread-specific data
+///
+/// The provided pointer is added to a thread-specific hash under the provided name.
+bool psThreadDataAdd(const char *name,  // Name of data
+                     psPtr ptr          // Data to add
+    );
+
+/// Lookup thread-specific data
+///
+/// The thread-specific hash is interrogated using the provided name.
+void *psThreadDataLookup(const char *name // Name of data
+    );
+
+/// Remove thread-specific data
+///
+/// The thread-specific hash has the data associated with the provided name deleted.
+bool psThreadDataRemove(const char *name // Name of data
+    );
+
+
 /// @}
 #endif /* PS_THREAD_H */
