AzureMXChip/MXCHIPAZ3166/core/lib/threadx/ports/xtensa/xcc/src/tx_clib_lock.c
void
__env_lock (struct _reent * ptr)
{
    if (_tx_thread_system_state != TX_INITIALIZE_IS_FINISHED) {
        return;
    }

    tx_mutex_get (&clib_lock_mutex, TX_WAIT_FOREVER);
}
/**************************************************************************/
/*    __env_lock - called by the setenv() family of routines when they    */
/*    need to modify the environment. A call to setenv() may call this    */
/*    function recursively.                                               */
/**************************************************************************/
called by the setenv() family of routines when they
need to modify the environment. A call to setenv() may call this
function recursively.
called by the setenv () family of routines when they need to modify the environment . A call to setenv () may call this function recursively .
void
__env_lock (struct _reent * ptr)
{
    if (_tx_thread_system_state != TX_INITIALIZE_IS_FINISHED) {
        return;
    }
    tx_mutex_get (&clib_lock_mutex, TX_WAIT_FOREVER);
}
void __env_lock ( struct _reent * ptr ) { if ( _tx_thread_system_state != TX_INITIALIZE_IS_FINISHED ) { return ; } tx_mutex_get ( & clib_lock_mutex , TX_WAIT_FOREVER ) ; }
__env_lock - called by the setenv() family of routines when they
need to modify the environment.
__env_lock - called by the setenv () family of routines when they need to modify the environment .