Changeset 4137 for trunk/psLib/src/sysUtils/psConfigure.c
- Timestamp:
- Jun 7, 2005, 12:53:40 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sysUtils/psConfigure.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sysUtils/psConfigure.c
r3264 r4137 1 1 /** @file psConfigure.c 2 2 * 3 * @brief Contains the declarations for initialization, memory finalization, and configuration. 3 * @brief Contains the declarations for initialization, memory finalization, 4 * and configuration. 4 5 * 5 * These functions initalize psLib data before the beginning of a run and remove (finalize) the6 * same data after the run is complete. A function is also provided to return the current7 * psLib version.6 * These functions initalize psLib data before the beginning of a run and 7 * remove (finalize) the same data after the run is complete. A function is 8 * also provided to return the current psLib version. 8 9 * 9 10 * @ingroup Configure … … 12 13 * @author Robert DeSonia, MHPCC 13 14 * 14 * @version $Revision: 1. 7$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-0 2-17 19:26:24$15 * @version $Revision: 1.8 $ $Name: not supported by cvs2svn $ 16 * @date $Date: 2005-06-07 22:53:40 $ 16 17 * 17 18 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 34 35 void psLibInit(bool predictable, const char* timeConfig) 35 36 { 36 // Still needs error codes to be set 37 // Still needs random number generator initialization 38 // Please code me, Robert and George. 37 // XXX: Still needs error codes to be set 38 // XXX: Still needs random number generator initialization 39 39 40 40 if(!p_psTimeInit(timeConfig)) { 41 psError(PS_ERR_BAD_PARAMETER_VALUE, true, PS_ERRORTEXT_psConfigure_INITIALIZATION_FAILED, "psTime"); 41 psError(PS_ERR_BAD_PARAMETER_VALUE, true, 42 PS_ERRORTEXT_psConfigure_INITIALIZATION_FAILED, "psTime"); 42 43 return; 43 44 } … … 49 50 50 51 if(!p_psTimeFinalize()) { 51 psError(PS_ERR_BAD_PARAMETER_VALUE, true, PS_ERRORTEXT_psConfigure_FINALIZATION_FAILED, "psTime"); 52 psError(PS_ERR_BAD_PARAMETER_VALUE, true, 53 PS_ERRORTEXT_psConfigure_FINALIZATION_FAILED, "psTime"); 52 54 return; 53 55 }
Note:
See TracChangeset
for help on using the changeset viewer.
