Lines Matching refs:thread_ptr
81 TX_THREAD *thread_ptr; in _tx_semaphore_get() local
103 …ion, semaphore_ptr -> tx_semaphore_count, TX_POINTER_TO_ULONG_CONVERT(&thread_ptr), TX_TRACE_SEMAP… in _tx_semaphore_get()
148 TX_THREAD_GET_CURRENT(thread_ptr) in _tx_semaphore_get()
151 thread_ptr -> tx_thread_suspend_cleanup = &(_tx_semaphore_cleanup); in _tx_semaphore_get()
155 thread_ptr -> tx_thread_suspend_control_block = (VOID *) semaphore_ptr; in _tx_semaphore_get()
161 thread_ptr -> tx_thread_suspension_sequence++; in _tx_semaphore_get()
170 semaphore_ptr -> tx_semaphore_suspension_list = thread_ptr; in _tx_semaphore_get()
171 thread_ptr -> tx_thread_suspended_next = thread_ptr; in _tx_semaphore_get()
172 thread_ptr -> tx_thread_suspended_previous = thread_ptr; in _tx_semaphore_get()
179 thread_ptr -> tx_thread_suspended_next = next_thread; in _tx_semaphore_get()
181 thread_ptr -> tx_thread_suspended_previous = previous_thread; in _tx_semaphore_get()
182 previous_thread -> tx_thread_suspended_next = thread_ptr; in _tx_semaphore_get()
183 next_thread -> tx_thread_suspended_previous = thread_ptr; in _tx_semaphore_get()
190 thread_ptr -> tx_thread_state = TX_SEMAPHORE_SUSP; in _tx_semaphore_get()
195 _tx_thread_system_ni_suspend(thread_ptr, wait_option); in _tx_semaphore_get()
202 thread_ptr -> tx_thread_suspending = TX_TRUE; in _tx_semaphore_get()
205 thread_ptr -> tx_thread_timer.tx_timer_internal_remaining_ticks = wait_option; in _tx_semaphore_get()
214 _tx_thread_system_suspend(thread_ptr); in _tx_semaphore_get()
218 status = thread_ptr -> tx_thread_suspend_status; in _tx_semaphore_get()