Home
last modified time | relevance | path

Searched refs:status (Results 1 – 25 of 833) sorted by relevance

12345678910>>...34

/ThreadX-v6.4.1/ports_module/cortex_a35_smp/ac6/example_build/sample_threadx_module/
Dsample_threadx_module.c101 UINT status; in demo_module_start() local
108 status = txm_module_object_allocate((void*)&thread_0, sizeof(TX_THREAD)); in demo_module_start()
109 while (status != TX_SUCCESS); in demo_module_start()
110 status = txm_module_object_allocate((void*)&thread_1, sizeof(TX_THREAD)); in demo_module_start()
111 while (status != TX_SUCCESS); in demo_module_start()
112 status = txm_module_object_allocate((void*)&thread_2, sizeof(TX_THREAD)); in demo_module_start()
113 while (status != TX_SUCCESS); in demo_module_start()
114 status = txm_module_object_allocate((void*)&thread_3, sizeof(TX_THREAD)); in demo_module_start()
115 while (status != TX_SUCCESS); in demo_module_start()
116 status = txm_module_object_allocate((void*)&thread_4, sizeof(TX_THREAD)); in demo_module_start()
[all …]
/ThreadX-v6.4.1/ports_module/cortex_a35_smp/gnu/example_build/sample_threadx_module/
Dsample_threadx_module.c101 UINT status; in demo_module_start() local
108 status = txm_module_object_allocate((void*)&thread_0, sizeof(TX_THREAD)); in demo_module_start()
109 while (status != TX_SUCCESS); in demo_module_start()
110 status = txm_module_object_allocate((void*)&thread_1, sizeof(TX_THREAD)); in demo_module_start()
111 while (status != TX_SUCCESS); in demo_module_start()
112 status = txm_module_object_allocate((void*)&thread_2, sizeof(TX_THREAD)); in demo_module_start()
113 while (status != TX_SUCCESS); in demo_module_start()
114 status = txm_module_object_allocate((void*)&thread_3, sizeof(TX_THREAD)); in demo_module_start()
115 while (status != TX_SUCCESS); in demo_module_start()
116 status = txm_module_object_allocate((void*)&thread_4, sizeof(TX_THREAD)); in demo_module_start()
[all …]
/ThreadX-v6.4.1/ports_module/cortex_a35/gnu/example_build/sample_threadx_module/
Dsample_threadx_module.c101 UINT status; in demo_module_start() local
108 status = txm_module_object_allocate((void*)&thread_0, sizeof(TX_THREAD)); in demo_module_start()
109 while (status != TX_SUCCESS); in demo_module_start()
110 status = txm_module_object_allocate((void*)&thread_1, sizeof(TX_THREAD)); in demo_module_start()
111 while (status != TX_SUCCESS); in demo_module_start()
112 status = txm_module_object_allocate((void*)&thread_2, sizeof(TX_THREAD)); in demo_module_start()
113 while (status != TX_SUCCESS); in demo_module_start()
114 status = txm_module_object_allocate((void*)&thread_3, sizeof(TX_THREAD)); in demo_module_start()
115 while (status != TX_SUCCESS); in demo_module_start()
116 status = txm_module_object_allocate((void*)&thread_4, sizeof(TX_THREAD)); in demo_module_start()
[all …]
/ThreadX-v6.4.1/ports_module/cortex_a35/ac6/example_build/sample_threadx_module/
Dsample_threadx_module.c101 UINT status; in demo_module_start() local
108 status = txm_module_object_allocate((void*)&thread_0, sizeof(TX_THREAD)); in demo_module_start()
109 while (status != TX_SUCCESS); in demo_module_start()
110 status = txm_module_object_allocate((void*)&thread_1, sizeof(TX_THREAD)); in demo_module_start()
111 while (status != TX_SUCCESS); in demo_module_start()
112 status = txm_module_object_allocate((void*)&thread_2, sizeof(TX_THREAD)); in demo_module_start()
113 while (status != TX_SUCCESS); in demo_module_start()
114 status = txm_module_object_allocate((void*)&thread_3, sizeof(TX_THREAD)); in demo_module_start()
115 while (status != TX_SUCCESS); in demo_module_start()
116 status = txm_module_object_allocate((void*)&thread_4, sizeof(TX_THREAD)); in demo_module_start()
[all …]
/ThreadX-v6.4.1/test/tx/regression/
Dthreadx_mutex_basic_test.c66 void test_control_return(UINT status);
76 UINT status; in timer_entry() local
79 status = tx_mutex_create(&mutex_4, "mutex 4", TX_NO_INHERIT); in timer_entry()
82 if (status != TX_CALLER_ERROR) in timer_entry()
90 status = tx_mutex_delete(&mutex_2); in timer_entry()
93 if (status != TX_CALLER_ERROR) in timer_entry()
101 status = tx_mutex_get(&mutex_2, 100); in timer_entry()
104 if (status != TX_WAIT_ERROR) in timer_entry()
122 UINT status; in test_isr() local
126 status = tx_mutex_create(&mutex_4, "mutex 4", TX_NO_INHERIT); in test_isr()
[all …]
Dthreadx_byte_memory_basic_test.c70 void test_control_return(UINT status);
80 UINT status; in timer_entry() local
94 status = tx_byte_pool_create(&pool_2, "pool 2", pointer, 108); in timer_entry()
97 if (status != TX_CALLER_ERROR) in timer_entry()
105 status = _txe_byte_pool_create(&pool_3, "pool 3", pointer, in timer_entry()
109 if (status != TX_POOL_ERROR) in timer_entry()
117 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 24, TX_NO_WAIT); in timer_entry()
120 if (status != TX_CALLER_ERROR) in timer_entry()
128 status = tx_byte_pool_delete(&pool_0); in timer_entry()
131 if (status != TX_CALLER_ERROR) in timer_entry()
[all …]
Dthreadx_queue_basic_one_word_test.c49 void test_control_return(UINT status);
59 UINT status; in timer_entry() local
75 status = tx_queue_create(&queue_2, "queue 2", TX_1_ULONG, pointer, 3*sizeof(ULONG)); in timer_entry()
78 if (status != TX_CALLER_ERROR) in timer_entry()
86 status = tx_queue_delete(&queue_0); in timer_entry()
89 if (status != TX_CALLER_ERROR) in timer_entry()
97 status = tx_queue_front_send(&queue_0, &source, 100); in timer_entry()
100 if (status != TX_WAIT_ERROR) in timer_entry()
108 status = tx_queue_send(&queue_0, &source, 100); in timer_entry()
111 if (status != TX_WAIT_ERROR) in timer_entry()
[all …]
Dthreadx_event_flag_basic_test.c54 void test_control_return(UINT status);
71 UINT status; in timer_entry() local
84 status = tx_event_flags_create(&group_2, "group 2"); in timer_entry()
87 if (status != TX_CALLER_ERROR) in timer_entry()
95 status = tx_event_flags_delete(&group_0); in timer_entry()
98 if (status != TX_CALLER_ERROR) in timer_entry()
106 status = tx_event_flags_get(&group_0, 0x80008000, 14, &actual_events, 100); in timer_entry()
109 if (status != TX_WAIT_ERROR) in timer_entry()
127 UINT status; in test_isr() local
132 status = tx_event_flags_create(&group_2, "group 2"); in test_isr()
[all …]
Dthreadx_queue_front_send_test.c36 void test_control_return(UINT status);
54 UINT status; in test_application_define() local
63 status = tx_thread_create(&thread_0, "thread 0", thread_0_entry, 0, in test_application_define()
69 if (status != TX_SUCCESS) in test_application_define()
76 status = tx_thread_create(&thread_1, "thread 1", thread_1_entry, 1, in test_application_define()
80 status = tx_thread_create(&thread_1a, "thread 1a", thread_1a_entry, 1, in test_application_define()
86 if (status != TX_SUCCESS) in test_application_define()
93 status = tx_thread_create(&thread_2, "thread 2", thread_2_entry, 2, in test_application_define()
97 status = tx_thread_create(&thread_2a, "thread 2a", thread_2a_entry, 2, in test_application_define()
103 if (status != TX_SUCCESS) in test_application_define()
[all …]
Dthreadx_semaphore_basic_test.c59 void test_control_return(UINT status);
69 UINT status; in timer_entry() local
81 status = tx_semaphore_create(&semaphore_2, "semaphore 2", 1); in timer_entry()
84 if (status != TX_CALLER_ERROR) in timer_entry()
92 status = tx_semaphore_delete(&semaphore_0); in timer_entry()
95 if (status != TX_CALLER_ERROR) in timer_entry()
103 status = tx_semaphore_get(&semaphore_0, 100); in timer_entry()
106 if (status != TX_WAIT_ERROR) in timer_entry()
125 UINT status; in test_isr() local
129 status = tx_semaphore_create(&semaphore_2, "semaphore 2", 1); in test_isr()
[all …]
Dthreadx_event_flag_information_test.c28 void test_control_return(UINT status);
47 INT status; in test_application_define() local
57 status = tx_thread_create(&thread_0, "thread 0", thread_0_entry, 1, in test_application_define()
63 if (status != TX_SUCCESS) in test_application_define()
71 status = tx_event_flags_create(&group_0, "group 0"); in test_application_define()
74 if (status != TX_SUCCESS) in test_application_define()
81 status = tx_event_flags_create(&group_1, "group 1"); in test_application_define()
84 if (status != TX_SUCCESS) in test_application_define()
92 status = tx_event_flags_set_notify(&group_0, event_set_notify); in test_application_define()
97 if (status != TX_SUCCESS) in test_application_define()
[all …]
Dthreadx_block_memory_error_detection_test.c26 void test_control_return(UINT status);
38 INT status; in test_application_define() local
46 status = tx_thread_create(&thread_0, "thread 0", thread_0_entry, 1, in test_application_define()
52 status = tx_block_pool_create(&pool_0, "pool 0", 100, pointer, 320); in test_application_define()
58 status = tx_block_pool_create(&pool_0, "pool 0", 100, pointer, 320); in test_application_define()
59 if (status != TX_POOL_ERROR) in test_application_define()
63 status = tx_block_pool_create(TX_NULL, "pool 0", 100, pointer, 320); in test_application_define()
64 if (status != TX_POOL_ERROR) in test_application_define()
72 status = tx_block_pool_create(&pool_1, "pool 0", 100, NULL, 320); in test_application_define()
73 if (status != TX_PTR_ERROR) in test_application_define()
[all …]
Dthreadx_timer_deactivate_accuracy_test.c22 void test_control_return(UINT status);
34 UINT status; in test_application_define() local
44 status = tx_thread_create(&thread_0, "thread 0", thread_0_entry, 1, in test_application_define()
50 if (status != TX_SUCCESS) in test_application_define()
57 status = tx_timer_create(&timer_0, "timer 0", timer_0_expiration, 0x1234, in test_application_define()
61 if (status != TX_SUCCESS) in test_application_define()
76 UINT status; in thread_0_entry() local
85 status = tx_timer_activate(&timer_0); in thread_0_entry()
88 if (status != TX_SUCCESS) in thread_0_entry()
100 status = tx_timer_deactivate(&timer_0); in thread_0_entry()
[all …]
Dthreadx_timer_large_timer_accuracy_test.c22 void test_control_return(UINT status);
34 UINT status; in test_application_define() local
44 status = tx_thread_create(&thread_0, "thread 0", thread_0_entry, 1, in test_application_define()
50 if (status != TX_SUCCESS) in test_application_define()
57 status = tx_timer_create(&timer_0, "timer 0", timer_0_expiration, 0x1234, in test_application_define()
61 if (status != TX_SUCCESS) in test_application_define()
76 UINT status; in thread_0_entry() local
85 status = tx_timer_activate(&timer_0); in thread_0_entry()
88 if (status != TX_SUCCESS) in thread_0_entry()
100 status = tx_timer_deactivate(&timer_0); in thread_0_entry()
[all …]
/ThreadX-v6.4.1/test/smp/regression/
Dthreadx_mutex_basic_test.c66 void test_control_return(UINT status);
76 UINT status; in timer_entry() local
79 status = tx_mutex_create(&mutex_4, "mutex 4", TX_NO_INHERIT); in timer_entry()
82 if (status != TX_CALLER_ERROR) in timer_entry()
90 status = tx_mutex_delete(&mutex_2); in timer_entry()
93 if (status != TX_CALLER_ERROR) in timer_entry()
101 status = tx_mutex_get(&mutex_2, 100); in timer_entry()
104 if (status != TX_WAIT_ERROR) in timer_entry()
122 UINT status; in test_isr() local
126 status = tx_mutex_create(&mutex_4, "mutex 4", TX_NO_INHERIT); in test_isr()
[all …]
Dthreadx_byte_memory_basic_test.c70 void test_control_return(UINT status);
80 UINT status; in timer_entry() local
94 status = tx_byte_pool_create(&pool_2, "pool 2", pointer, 108); in timer_entry()
97 if (status != TX_CALLER_ERROR) in timer_entry()
105 status = _txe_byte_pool_create(&pool_3, "pool 3", pointer, in timer_entry()
109 if (status != TX_POOL_ERROR) in timer_entry()
117 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 24, TX_NO_WAIT); in timer_entry()
120 if (status != TX_CALLER_ERROR) in timer_entry()
128 status = tx_byte_pool_delete(&pool_0); in timer_entry()
131 if (status != TX_CALLER_ERROR) in timer_entry()
[all …]
Dthreadx_queue_basic_one_word_test.c49 void test_control_return(UINT status);
59 UINT status; in timer_entry() local
75 status = tx_queue_create(&queue_2, "queue 2", TX_1_ULONG, pointer, 3*sizeof(ULONG)); in timer_entry()
78 if (status != TX_CALLER_ERROR) in timer_entry()
86 status = tx_queue_delete(&queue_0); in timer_entry()
89 if (status != TX_CALLER_ERROR) in timer_entry()
97 status = tx_queue_front_send(&queue_0, &source, 100); in timer_entry()
100 if (status != TX_WAIT_ERROR) in timer_entry()
108 status = tx_queue_send(&queue_0, &source, 100); in timer_entry()
111 if (status != TX_WAIT_ERROR) in timer_entry()
[all …]
Dthreadx_event_flag_basic_test.c54 void test_control_return(UINT status);
71 UINT status; in timer_entry() local
84 status = tx_event_flags_create(&group_2, "group 2"); in timer_entry()
87 if (status != TX_CALLER_ERROR) in timer_entry()
95 status = tx_event_flags_delete(&group_0); in timer_entry()
98 if (status != TX_CALLER_ERROR) in timer_entry()
106 status = tx_event_flags_get(&group_0, 0x80008000, 14, &actual_events, 100); in timer_entry()
109 if (status != TX_WAIT_ERROR) in timer_entry()
127 UINT status; in test_isr() local
132 status = tx_event_flags_create(&group_2, "group 2"); in test_isr()
[all …]
Dthreadx_queue_front_send_test.c36 void test_control_return(UINT status);
54 UINT status; in test_application_define() local
63 status = tx_thread_create(&thread_0, "thread 0", thread_0_entry, 0, in test_application_define()
69 if (status != TX_SUCCESS) in test_application_define()
76 status = tx_thread_create(&thread_1, "thread 1", thread_1_entry, 1, in test_application_define()
80 status = tx_thread_create(&thread_1a, "thread 1a", thread_1a_entry, 1, in test_application_define()
86 if (status != TX_SUCCESS) in test_application_define()
93 status = tx_thread_create(&thread_2, "thread 2", thread_2_entry, 2, in test_application_define()
97 status = tx_thread_create(&thread_2a, "thread 2a", thread_2a_entry, 2, in test_application_define()
103 if (status != TX_SUCCESS) in test_application_define()
[all …]
Dthreadx_semaphore_basic_test.c59 void test_control_return(UINT status);
69 UINT status; in timer_entry() local
81 status = tx_semaphore_create(&semaphore_2, "semaphore 2", 1); in timer_entry()
84 if (status != TX_CALLER_ERROR) in timer_entry()
92 status = tx_semaphore_delete(&semaphore_0); in timer_entry()
95 if (status != TX_CALLER_ERROR) in timer_entry()
103 status = tx_semaphore_get(&semaphore_0, 100); in timer_entry()
106 if (status != TX_WAIT_ERROR) in timer_entry()
125 UINT status; in test_isr() local
129 status = tx_semaphore_create(&semaphore_2, "semaphore 2", 1); in test_isr()
[all …]
Dthreadx_timer_simple_test.c62 void test_control_return(UINT status);
72 UINT status; in timer_entry() local
84 status = tx_timer_delete(&timer_0); in timer_entry()
87 if (status != TX_CALLER_ERROR) in timer_entry()
95 status = tx_timer_create(&timer_2, "timer 2", timer_0_expiration, 0x1234, in timer_entry()
99 if (status != TX_CALLER_ERROR) in timer_entry()
123 UINT status; in test_isr() local
126 status = tx_timer_delete(&timer_0); in test_isr()
129 if (status != TX_CALLER_ERROR) in test_isr()
137 status = tx_timer_create(&timer_2, "timer 2", timer_0_expiration, 0x1234, in test_isr()
[all …]
Dthreadx_event_flag_information_test.c28 void test_control_return(UINT status);
47 INT status; in test_application_define() local
57 status = tx_thread_create(&thread_0, "thread 0", thread_0_entry, 1, in test_application_define()
63 if (status != TX_SUCCESS) in test_application_define()
71 status = tx_event_flags_create(&group_0, "group 0"); in test_application_define()
74 if (status != TX_SUCCESS) in test_application_define()
81 status = tx_event_flags_create(&group_1, "group 1"); in test_application_define()
84 if (status != TX_SUCCESS) in test_application_define()
92 status = tx_event_flags_set_notify(&group_0, event_set_notify); in test_application_define()
97 if (status != TX_SUCCESS) in test_application_define()
[all …]
Dthreadx_block_memory_error_detection_test.c26 void test_control_return(UINT status);
38 INT status; in test_application_define() local
46 status = tx_thread_create(&thread_0, "thread 0", thread_0_entry, 1, in test_application_define()
52 status = tx_block_pool_create(&pool_0, "pool 0", 100, pointer, 320); in test_application_define()
58 status = tx_block_pool_create(&pool_0, "pool 0", 100, pointer, 320); in test_application_define()
59 if (status != TX_POOL_ERROR) in test_application_define()
63 status = tx_block_pool_create(TX_NULL, "pool 0", 100, pointer, 320); in test_application_define()
64 if (status != TX_POOL_ERROR) in test_application_define()
72 status = tx_block_pool_create(&pool_1, "pool 0", 100, NULL, 320); in test_application_define()
73 if (status != TX_PTR_ERROR) in test_application_define()
[all …]
/ThreadX-v6.4.1/ports/c667x/ccs/example_build/sample_threadx_c6678evm/
Dsample_threadx.c90 UINT status; in tx_application_define() local
94 …if ((status = tx_trace_enable(tx_trace_buffer, TRACE_BUFFER_SIZE, TRACE_OBJECTS_COUNT)) != TX_SUCC… in tx_application_define()
100 if ((status = tx_thread_stack_error_notify(my_stack_error_handler)) != TX_SUCCESS) in tx_application_define()
106status = tx_byte_pool_create(&byte_pool_0, "byte pool 0", first_unused_memory, DEMO_BYTE_POOL_SIZE… in tx_application_define()
107 if (status != TX_SUCCESS) in tx_application_define()
116 status = tx_byte_allocate(&byte_pool_0, (VOID **) &pointer, DEMO_STACK_SIZE, TX_NO_WAIT); in tx_application_define()
117 if (status != TX_SUCCESS) in tx_application_define()
123 status = tx_thread_create(&thread_0, "thread 0", thread_0_entry, 0, in tx_application_define()
126 if (status != TX_SUCCESS) in tx_application_define()
132 status = tx_byte_allocate(&byte_pool_0, (VOID **) &pointer, DEMO_STACK_SIZE, TX_NO_WAIT); in tx_application_define()
[all …]
/ThreadX-v6.4.1/ports/c667x/ccs/example_build/sample_threadx_ta6678fmc/
Dsample_threadx.c90 UINT status; in tx_application_define() local
94 …if ((status = tx_trace_enable(tx_trace_buffer, TRACE_BUFFER_SIZE, TRACE_OBJECTS_COUNT)) != TX_SUCC… in tx_application_define()
100 if ((status = tx_thread_stack_error_notify(my_stack_error_handler)) != TX_SUCCESS) in tx_application_define()
106status = tx_byte_pool_create(&byte_pool_0, "byte pool 0", first_unused_memory, DEMO_BYTE_POOL_SIZE… in tx_application_define()
107 if (status != TX_SUCCESS) in tx_application_define()
116 status = tx_byte_allocate(&byte_pool_0, (VOID **) &pointer, DEMO_STACK_SIZE, TX_NO_WAIT); in tx_application_define()
117 if (status != TX_SUCCESS) in tx_application_define()
123 status = tx_thread_create(&thread_0, "thread 0", thread_0_entry, 0, in tx_application_define()
126 if (status != TX_SUCCESS) in tx_application_define()
132 status = tx_byte_allocate(&byte_pool_0, (VOID **) &pointer, DEMO_STACK_SIZE, TX_NO_WAIT); in tx_application_define()
[all …]

12345678910>>...34