![]() |
Dataflow Runtime API
3.1.1.0
|
Macros | |
| #define | TX_THREAD_ID ((ULONG) 0x54485244) |
| ThreadX Component More... | |
| #define | TX_THREAD_PRIORITY_GROUP_MASK ((ULONG) 0xFF) |
| #define | TX_THREAD_EXECUTE_LOG_SIZE ((UINT) 8) |
| #define | MAP_INDEX (0) |
| #define | TX_MOD32_BIT_SET(a, b) (b) = (((ULONG) 1) << ((a))); |
| #define | TX_THREAD_STATE_CHANGE(a, b) |
| #define | TX_THREAD_GET_CURRENT(a) (a) = _tx_thread_current_ptr; |
| #define | TX_THREAD_SET_CURRENT(a) _tx_thread_current_ptr = (a); |
| #define | TX_THREAD_SYSTEM_RETURN_CHECK(c) (c) = (ULONG) _tx_thread_preempt_disable; (c) = (c) | TX_THREAD_GET_SYSTEM_STATE(); |
| #define | TX_THREAD_CREATE_TIMEOUT_SETUP(t) |
| #define | TX_THREAD_TIMEOUT_POINTER_SETUP(t) (t) = TX_ULONG_TO_THREAD_POINTER_CONVERT(timeout_input); |
| #define | TX_LOWEST_SET_BIT_CALCULATE(m, b) |
| #define | TX_THREAD_STACK_CHECK(thread_ptr) |
| #define | TX_THREAD_DELETE_PORT_COMPLETION(t) |
| #define | TX_THREAD_RESET_PORT_COMPLETION(t) |
| #define | TX_THREAD_CREATE_INTERNAL_EXTENSION(t) |
| #define | THREAD_DECLARE extern |
Functions | |
| VOID | _tx_thread_initialize (VOID) |
| VOID | _tx_thread_schedule (VOID) |
| VOID | _tx_thread_shell_entry (VOID) |
| VOID | _tx_thread_stack_analyze (TX_THREAD *thread_ptr) |
| VOID | _tx_thread_stack_build (TX_THREAD *thread_ptr, VOID(*function_ptr)(VOID)) |
| VOID | _tx_thread_stack_error (TX_THREAD *thread_ptr) |
| VOID | _tx_thread_stack_error_handler (TX_THREAD *thread_ptr) |
| VOID | _tx_thread_system_preempt_check (VOID) |
| VOID | _tx_thread_system_resume (TX_THREAD *thread_ptr) |
| VOID | _tx_thread_system_ni_resume (TX_THREAD *thread_ptr) |
| VOID | _tx_thread_system_return (VOID) |
| VOID | _tx_thread_system_suspend (TX_THREAD *thread_ptr) |
| VOID | _tx_thread_system_ni_suspend (TX_THREAD *thread_ptr, ULONG wait_option) |
| VOID | _tx_thread_time_slice (VOID) |
| VOID | _tx_thread_timeout (ULONG timeout_input) |
| #define MAP_INDEX (0) |
| #define THREAD_DECLARE extern |
| #define TX_LOWEST_SET_BIT_CALCULATE | ( | m, | |
| b | |||
| ) |
| #define TX_MOD32_BIT_SET | ( | a, | |
| b | |||
| ) | (b) = (((ULONG) 1) << ((a))); |
| #define TX_THREAD_CREATE_INTERNAL_EXTENSION | ( | t | ) |
| #define TX_THREAD_CREATE_TIMEOUT_SETUP | ( | t | ) |
| #define TX_THREAD_DELETE_PORT_COMPLETION | ( | t | ) |
| #define TX_THREAD_EXECUTE_LOG_SIZE ((UINT) 8) |
| #define TX_THREAD_GET_CURRENT | ( | a | ) | (a) = _tx_thread_current_ptr; |
| #define TX_THREAD_ID ((ULONG) 0x54485244) |
ThreadX Component
Thread
| #define TX_THREAD_PRIORITY_GROUP_MASK ((ULONG) 0xFF) |
| #define TX_THREAD_RESET_PORT_COMPLETION | ( | t | ) |
| #define TX_THREAD_SET_CURRENT | ( | a | ) | _tx_thread_current_ptr = (a); |
| #define TX_THREAD_STACK_CHECK | ( | thread_ptr | ) |
| #define TX_THREAD_STATE_CHANGE | ( | a, | |
| b | |||
| ) |
| #define TX_THREAD_SYSTEM_RETURN_CHECK | ( | c | ) | (c) = (ULONG) _tx_thread_preempt_disable; (c) = (c) | TX_THREAD_GET_SYSTEM_STATE(); |
| #define TX_THREAD_TIMEOUT_POINTER_SETUP | ( | t | ) | (t) = TX_ULONG_TO_THREAD_POINTER_CONVERT(timeout_input); |
| THREAD_DECLARE ULONG _tx_build_options |
| THREAD_DECLARE ULONG _tx_thread_created_count |
| THREAD_DECLARE TX_THREAD* _tx_thread_created_ptr |
| THREAD_DECLARE TX_THREAD* _tx_thread_current_ptr |
| THREAD_DECLARE TX_THREAD* _tx_thread_execute_ptr |
| THREAD_DECLARE UINT _tx_thread_highest_priority |
| THREAD_DECLARE VOID(* _tx_thread_mutex_release) (TX_THREAD *thread_ptr) | ( | TX_THREAD * | thread_ptr | ) |
| THREAD_DECLARE volatile UINT _tx_thread_preempt_disable |
| THREAD_DECLARE ULONG _tx_thread_preempted_maps[TX_MAX_PRIORITIES/32] |
| THREAD_DECLARE TX_THREAD* _tx_thread_priority_list[TX_MAX_PRIORITIES] |
| THREAD_DECLARE ULONG _tx_thread_priority_maps[TX_MAX_PRIORITIES/32] |
| THREAD_DECLARE VOID* _tx_thread_system_stack_ptr |
| THREAD_DECLARE volatile ULONG _tx_thread_system_state |