AzureMXChip/MXCHIPAZ3166/core/lib/threadx/ports_module/cortex_a35_smp/gnu/example_build/sample_threadx_module_manager/sample_threadx_module_manager.c
void tx_application_define(void *first_unused_memory)
{
    tx_thread_create(
            &module_manager,
            "Module Manager Thread",
            module_manager_entry, 0,
            module_manager_stack, MODULE_MANAGER_STACK_SIZE,
            1, 1,
            TX_NO_TIME_SLICE,
            TX_AUTO_START);

    tx_thread_create(
            &simple_thread,
            "Simple Thread",
            simple_thread_entry, 0,
            simple_thread_stack, SIMPLE_THREAD_STACK_SIZE,
            1, 1,
            TX_NO_TIME_SLICE,
            TX_AUTO_START);
}
/* Define what the initial system looks like.  */
Define what the initial system looks like.
Define what the initial system looks like .
void tx_application_define(void *first_unused_memory)
{
    tx_thread_create(
            &module_manager,
            "Module Manager Thread",
            module_manager_entry, 0,
            module_manager_stack, MODULE_MANAGER_STACK_SIZE,
            1, 1,
            TX_NO_TIME_SLICE,
            TX_AUTO_START);
    tx_thread_create(
            &simple_thread,
            "Simple Thread",
            simple_thread_entry, 0,
            simple_thread_stack, SIMPLE_THREAD_STACK_SIZE,
            1, 1,
            TX_NO_TIME_SLICE,
            TX_AUTO_START);
}
void tx_application_define ( void * first_unused_memory ) { tx_thread_create ( & module_manager , " " , module_manager_entry , 0 , module_manager_stack , MODULE_MANAGER_STACK_SIZE , 1 , 1 , TX_NO_TIME_SLICE , TX_AUTO_START ) ; tx_thread_create ( & simple_thread , " " , simple_thread_entry , 0 , simple_thread_stack , SIMPLE_THREAD_STACK_SIZE , 1 , 1 , TX_NO_TIME_SLICE , TX_AUTO_START ) ; }
Define what the initial system looks like.
Define what the initial system looks like .