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

    tx_mutex_prioritize (&clib_lock_mutex);
    tx_mutex_put (&clib_lock_mutex);
}
/**************************************************************************/
/*    __env_unlock - called by the setenv() family of routines when they  */
/*    need to unlock the environment.                                     */
/**************************************************************************/
called by the setenv() family of routines when they
need to unlock the environment.
called by the setenv () family of routines when they need to unlock the environment .
void
__env_unlock (struct _reent * ptr)
{
    if (_tx_thread_system_state != TX_INITIALIZE_IS_FINISHED) {
        return;
    }
    tx_mutex_prioritize (&clib_lock_mutex);
    tx_mutex_put (&clib_lock_mutex);
}
void __env_unlock ( struct _reent * ptr ) { if ( _tx_thread_system_state != TX_INITIALIZE_IS_FINISHED ) { return ; } tx_mutex_prioritize ( & clib_lock_mutex ) ; tx_mutex_put ( & clib_lock_mutex ) ; }
__env_unlock - called by the setenv() family of routines when they
need to unlock the environment.
__env_unlock - called by the setenv () family of routines when they need to unlock the environment .