AzureMXChip/MXCHIPAZ3166/core/lib/threadx/ports/xtensa/xcc/src/xtensa_overlay_os_hook.c
void
xt_overlay_init_os(void)
{
    /* Create the mutex for overlay access. Priority inheritance is
     * required.
     */
    UINT status = 
        tx_mutex_create (&xt_overlay_mutex, "xt_overlay_lock", TX_INHERIT);

    if (status != TX_SUCCESS) {
        xt_overlay_fatal_error (-1);
    }
}
/**************************************************************************/
/*  This function should be overridden to provide OS specific init such   */
/*  as the creation of a mutex lock that can be used for overlay locking. */
/*  Typically this mutex would be set up with priority inheritance. See   */
/* overlay manager documentation for more details.                        */
/**************************************************************************/
This function should be overridden to provide OS specific init such
as the creation of a mutex lock that can be used for overlay locking.
Typically this mutex would be set up with priority inheritance. See
overlay manager documentation for more details.
This function should be overridden to provide OS specific init such as the creation of a mutex lock that can be used for overlay locking . Typically this mutex would be set up with priority inheritance . See overlay manager documentation for more details .
void
xt_overlay_init_os(void)
{
    UINT status = 
        tx_mutex_create (&xt_overlay_mutex, "xt_overlay_lock", TX_INHERIT);
    if (status != TX_SUCCESS) {
        xt_overlay_fatal_error (-1);
    }
}
void xt_overlay_init_os ( void ) { UINT status = tx_mutex_create ( & xt_overlay_mutex , " " , TX_INHERIT ) ; if ( status != TX_SUCCESS ) { xt_overlay_fatal_error ( -1 ) ; } }
This function should be overridden to provide OS specific init such
as the creation of a mutex lock that can be used for overlay locking.
This function should be overridden to provide OS specific init such as the creation of a mutex lock that can be used for overlay locking .
/* Create the mutex for overlay access. Priority inheritance is
     * required.
     */