Changeset 18754
- Timestamp:
- Jul 27, 2008, 12:42:32 PM (18 years ago)
- Location:
- branches/eam_branch_20080719/psLib/src/sys
- Files:
-
- 3 edited
-
psConfigure.c (modified) (3 diffs)
-
psThread.c (modified) (1 diff)
-
psThread.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20080719/psLib/src/sys/psConfigure.c
r15607 r18754 13 13 * @author Robert DeSonia, MHPCC 14 14 * 15 * @version $Revision: 1.26 $ $Name: not supported by cvs2svn $16 * @date $Date: 200 7-11-13 21:50:13$15 * @version $Revision: 1.26.16.1 $ $Name: not supported by cvs2svn $ 16 * @date $Date: 2008-07-27 22:42:32 $ 17 17 * 18 18 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 31 31 #include "psString.h" 32 32 #include "psTime.h" 33 #include "psThread.h" 33 34 #include "psEarthOrientation.h" 34 35 #include "psError.h" … … 124 125 psTimerStop(); 125 126 127 psThreadPoolFinalize(); 128 126 129 // Free the time tables 127 130 if (!p_psTimeFinalize()) { -
branches/eam_branch_20080719/psLib/src/sys/psThread.c
r18751 r18754 154 154 return false; 155 155 } 156 157 // create a pool of Nthreads, each running the user's job-launcher function 158 bool psThreadPoolFinalize () { 159 160 psFree (pending); 161 pending = NULL; 162 163 psFree (done); 164 done = NULL; 165 166 psFree (pool); 167 pool = NULL; 168 169 return true; 170 } 171 -
branches/eam_branch_20080719/psLib/src/sys/psThread.h
r18751 r18754 4 4 * 5 5 * @author EAM, IFA 6 * @version $Revision: 1.1.2. 2$ $Name: not supported by cvs2svn $7 * @date $Date: 2008-07-27 17:59:42 $6 * @version $Revision: 1.1.2.3 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2008-07-27 22:42:32 $ 8 8 * 9 9 * Copyright 2004-2005 Insitute for Astronomy, University of Hawaii … … 41 41 bool psThreadPoolInit (int nThreads, psThreadLaunchJobsFunction function); 42 42 bool psThreadPoolWait (); 43 bool psThreadPoolFinalize (); 43 44 44 45 /// @}
Note:
See TracChangeset
for help on using the changeset viewer.
