AzureMXChip/MXCHIPAZ3166/core/lib/threadx/ports/xtensa/xcc/src/xtensa_overlay_os_hook.c
void
xt_overlay_lock(void)
{
    UINT status = tx_mutex_get (&xt_overlay_mutex, TX_WAIT_FOREVER);

    if (status != TX_SUCCESS) {
        xt_overlay_fatal_error (-1);
    }
}
/**************************************************************************/
/* This function locks access to shared overlay resources, typically      */
/* by acquiring a mutex.                                                  */
/**************************************************************************/
This function locks access to shared overlay resources, typically
by acquiring a mutex.
This function locks access to shared overlay resources typically by acquiring a mutex .
void
xt_overlay_lock(void)
{
    UINT status = tx_mutex_get (&xt_overlay_mutex, TX_WAIT_FOREVER);
    if (status != TX_SUCCESS) {
        xt_overlay_fatal_error (-1);
    }
}
void xt_overlay_lock ( void ) { UINT status = tx_mutex_get ( & xt_overlay_mutex , TX_WAIT_FOREVER ) ; if ( status != TX_SUCCESS ) { xt_overlay_fatal_error ( -1 ) ; } }
This function locks access to shared overlay resources, typically
by acquiring a mutex.
This function locks access to shared overlay resources typically by acquiring a mutex .