Changeset 19057 for trunk/psLib/src/sys/psThread.h
- Timestamp:
- Aug 13, 2008, 5:22:13 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sys/psThread.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sys/psThread.h
r19022 r19057 4 4 * 5 5 * @author EAM, IFA 6 * @version $Revision: 1. 4$ $Name: not supported by cvs2svn $7 * @date $Date: 2008-08-1 2 03:28:37$6 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2008-08-14 03:22:13 $ 8 8 * 9 9 * Copyright 2004-2005 Insitute for Astronomy, University of Hawaii … … 12 12 #ifndef PS_THREAD_H 13 13 #define PS_THREAD_H 14 15 #include <pthread.h> 16 #include "psString.h" 17 #include "psArray.h" 14 18 15 19 /// @addtogroup SysUtils System Utilities … … 87 91 88 92 /// Remove a task from the list 89 bool psThreadTask Delete(const char *type // Task type to remove93 bool psThreadTaskRemove(const char *type // Task type to remove 90 94 ); 91 95 … … 111 115 bool psThreadPoolFinalize(void); 112 116 117 118 /// Add thread-specific data 119 /// 120 /// The provided pointer is added to a thread-specific hash under the provided name. 121 bool psThreadDataAdd(const char *name, // Name of data 122 psPtr ptr // Data to add 123 ); 124 125 /// Lookup thread-specific data 126 /// 127 /// The thread-specific hash is interrogated using the provided name. 128 void *psThreadDataLookup(const char *name // Name of data 129 ); 130 131 /// Remove thread-specific data 132 /// 133 /// The thread-specific hash has the data associated with the provided name deleted. 134 bool psThreadDataRemove(const char *name // Name of data 135 ); 136 137 113 138 /// @} 114 139 #endif /* PS_THREAD_H */
Note:
See TracChangeset
for help on using the changeset viewer.
