IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 7, 2005, 12:53:40 PM (21 years ago)
Author:
gusciora
Message:

Removed code that freed data structures that were declared static for
performance reasons. This issue will be addressed later.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sysUtils/psConfigure.c

    r3264 r4137  
    11/** @file  psConfigure.c
    22 *
    3  *  @brief Contains the declarations for initialization, memory finalization, and configuration.
     3 *  @brief Contains the declarations for initialization, memory finalization,
     4 *   and configuration.
    45 *
    5  *  These functions initalize psLib data before the beginning of a run and remove (finalize) the
    6  *  same data after the run is complete. A function is also provided to return the current
    7  *  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.
    89 *
    910 *  @ingroup Configure
     
    1213 *  @author Robert DeSonia, MHPCC
    1314 *
    14  *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2005-02-17 19:26:24 $
     15 *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
     16 *  @date $Date: 2005-06-07 22:53:40 $
    1617 *
    1718 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    3435void psLibInit(bool predictable, const char* timeConfig)
    3536{
    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
    3939
    4040    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");
    4243        return;
    4344    }
     
    4950
    5051    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");
    5254        return;
    5355    }
Note: See TracChangeset for help on using the changeset viewer.