Lines Matching refs:thread_ptr
93 UINT _tx_thread_create(TX_THREAD *thread_ptr, CHAR *name_ptr, VOID (*entry_function)(ULONG id), UL… in _tx_thread_create() argument
154 TX_MEMSET(thread_ptr, 0, (sizeof(TX_THREAD))); in _tx_thread_create()
157 thread_ptr -> tx_thread_name = name_ptr; in _tx_thread_create()
158 thread_ptr -> tx_thread_entry = entry_function; in _tx_thread_create()
159 thread_ptr -> tx_thread_entry_parameter = entry_input; in _tx_thread_create()
160 thread_ptr -> tx_thread_stack_start = stack_start; in _tx_thread_create()
161 thread_ptr -> tx_thread_stack_size = stack_size; in _tx_thread_create()
162 thread_ptr -> tx_thread_priority = priority; in _tx_thread_create()
163 thread_ptr -> tx_thread_user_priority = priority; in _tx_thread_create()
164 thread_ptr -> tx_thread_time_slice = time_slice; in _tx_thread_create()
165 thread_ptr -> tx_thread_new_time_slice = time_slice; in _tx_thread_create()
166 thread_ptr -> tx_thread_inherit_priority = ((UINT) TX_MAX_PRIORITIES); in _tx_thread_create()
171 thread_ptr -> tx_thread_stack_end = TX_UCHAR_TO_VOID_POINTER_CONVERT(temp_ptr); in _tx_thread_create()
176 thread_ptr -> tx_thread_preempt_threshold = preempt_threshold; in _tx_thread_create()
177 thread_ptr -> tx_thread_user_preempt_threshold = preempt_threshold; in _tx_thread_create()
186 thread_ptr -> tx_thread_preempt_threshold = ((UINT) 0); in _tx_thread_create()
187 thread_ptr -> tx_thread_user_preempt_threshold = ((UINT) 0); in _tx_thread_create()
193 thread_ptr -> tx_thread_preempt_threshold = priority; in _tx_thread_create()
194 thread_ptr -> tx_thread_user_preempt_threshold = priority; in _tx_thread_create()
199 thread_ptr -> tx_thread_state = TX_SUSPENDED; in _tx_thread_create()
202 TX_THREAD_CREATE_TIMEOUT_SETUP(thread_ptr) in _tx_thread_create()
205 TX_THREAD_CREATE_INTERNAL_EXTENSION(thread_ptr) in _tx_thread_create()
210 _tx_thread_stack_build(thread_ptr, _tx_thread_shell_entry); in _tx_thread_create()
215 thread_ptr -> tx_thread_stack_highest_ptr = thread_ptr -> tx_thread_stack_ptr; in _tx_thread_create()
222 thread_ptr -> tx_thread_id = TX_THREAD_ID; in _tx_thread_create()
230 _tx_thread_created_ptr = thread_ptr; in _tx_thread_create()
231 thread_ptr -> tx_thread_created_next = thread_ptr; in _tx_thread_create()
232 thread_ptr -> tx_thread_created_previous = thread_ptr; in _tx_thread_create()
242 next_thread -> tx_thread_created_previous = thread_ptr; in _tx_thread_create()
243 previous_thread -> tx_thread_created_next = thread_ptr; in _tx_thread_create()
246 thread_ptr -> tx_thread_created_previous = previous_thread; in _tx_thread_create()
247 thread_ptr -> tx_thread_created_next = next_thread; in _tx_thread_create()
254 …TX_TRACE_OBJECT_REGISTER(TX_TRACE_OBJECT_TYPE_THREAD, thread_ptr, name_ptr, TX_POINTER_TO_ULONG_CO… in _tx_thread_create()
257 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_THREAD_CREATE, thread_ptr, priority, TX_POINTER_TO_ULONG_CONVERT(… in _tx_thread_create()
260 TX_EL_THREAD_REGISTER(thread_ptr) in _tx_thread_create()
313 TX_THREAD_CREATE_EXTENSION(thread_ptr) in _tx_thread_create()
316 _tx_thread_system_ni_resume(thread_ptr); in _tx_thread_create()
326 TX_THREAD_CREATE_EXTENSION(thread_ptr) in _tx_thread_create()
329 _tx_thread_system_resume(thread_ptr); in _tx_thread_create()
347 TX_THREAD_CREATE_EXTENSION(thread_ptr) in _tx_thread_create()
357 TX_THREAD_CREATE_EXTENSION(thread_ptr) in _tx_thread_create()