Home
last modified time | relevance | path

Searched refs:thread (Results 101 – 125 of 630) sorted by relevance

12345678910>>...26

/ThreadX-v6.4.1/utility/rtos_compatibility_layers/posix/
Dpx_pth_init.c482 TX_THREAD *thread; in posix_tcb2thread() local
488 thread = (&(pthread_ptr->thread_info )); in posix_tcb2thread()
492 thread = ((TX_THREAD *)0); in posix_tcb2thread()
495 return(thread); in posix_tcb2thread()
598 TX_THREAD *thread; in posix_tid2thread() local
607 thread= posix_tcb2thread(pthread); in posix_tid2thread()
611 thread = ((TX_THREAD *)0); in posix_tid2thread()
613 return(thread); in posix_tid2thread()
Dpx_pth_detach.c81 INT pthread_detach(pthread_t thread) in pthread_detach() argument
91 pthread_ptr = posix_tid2tcb(thread); in pthread_detach()
Dpx_pth_cancel.c71 INT pthread_cancel(pthread_t thread) in pthread_cancel() argument
81 thread_ptr = posix_tid2thread(thread); in pthread_cancel()
/ThreadX-v6.4.1/ports_smp/mips32_interaptiv_smp/green/src/
Dtx_thread_smp_current_thread_get.mip40 /* This function is gets the current thread of the calling core. */
70 la $12, _tx_thread_current_ptr # Pickup the current thread pointer
72 … addu $12, $12, $25 # Build address of current thread pointer for this VPE
73 lw $2, ($12) # Pickup current thread pointer
/ThreadX-v6.4.1/ports/cortex_a9/ghs/src/
Dtx_thread_fiq_context_restore.arm57 /* nested interrupt. If not, it returns to the interrupt thread if no */
59 /* if no thread was running, the function returns to the scheduler. */
130 /* Determine if a thread was interrupted and no preemption is required. */
143 LDR r1, =_tx_thread_current_ptr # Pickup address of current thread ptr
144 LDR r0, [r1] # Pickup actual current thread pointer
151 BNE __tx_thread_fiq_no_preempt_restore # Yes, don't preempt this thread
152 LDR r3, =_tx_thread_execute_ptr # Pickup address of execute thread ptr
153 LDR r2, [r3] # Pickup actual execute thread pointer
154 CMP r0, r2 # Is the same thread highest priority?
160 /* Restore interrupted thread or ISR. */
[all …]
/ThreadX-v6.4.1/ports/cortex_a8/ghs/src/
Dtx_thread_fiq_context_restore.arm57 /* nested interrupt. If not, it returns to the interrupt thread if no */
59 /* if no thread was running, the function returns to the scheduler. */
130 /* Determine if a thread was interrupted and no preemption is required. */
143 LDR r1, =_tx_thread_current_ptr # Pickup address of current thread ptr
144 LDR r0, [r1] # Pickup actual current thread pointer
151 BNE __tx_thread_fiq_no_preempt_restore # Yes, don't preempt this thread
152 LDR r3, =_tx_thread_execute_ptr # Pickup address of execute thread ptr
153 LDR r2, [r3] # Pickup actual execute thread pointer
154 CMP r0, r2 # Is the same thread highest priority?
160 /* Restore interrupted thread or ISR. */
[all …]
/ThreadX-v6.4.1/ports/cortex_a7/ghs/src/
Dtx_thread_fiq_context_restore.arm57 /* nested interrupt. If not, it returns to the interrupt thread if no */
59 /* if no thread was running, the function returns to the scheduler. */
130 /* Determine if a thread was interrupted and no preemption is required. */
143 LDR r1, =_tx_thread_current_ptr # Pickup address of current thread ptr
144 LDR r0, [r1] # Pickup actual current thread pointer
151 BNE __tx_thread_fiq_no_preempt_restore # Yes, don't preempt this thread
152 LDR r3, =_tx_thread_execute_ptr # Pickup address of execute thread ptr
153 LDR r2, [r3] # Pickup actual execute thread pointer
154 CMP r0, r2 # Is the same thread highest priority?
160 /* Restore interrupted thread or ISR. */
[all …]
/ThreadX-v6.4.1/ports/cortex_a5/ghs/src/
Dtx_thread_fiq_context_restore.arm57 /* nested interrupt. If not, it returns to the interrupt thread if no */
59 /* if no thread was running, the function returns to the scheduler. */
130 /* Determine if a thread was interrupted and no preemption is required. */
143 LDR r1, =_tx_thread_current_ptr # Pickup address of current thread ptr
144 LDR r0, [r1] # Pickup actual current thread pointer
151 BNE __tx_thread_fiq_no_preempt_restore # Yes, don't preempt this thread
152 LDR r3, =_tx_thread_execute_ptr # Pickup address of execute thread ptr
153 LDR r2, [r3] # Pickup actual execute thread pointer
154 CMP r0, r2 # Is the same thread highest priority?
160 /* Restore interrupted thread or ISR. */
[all …]
/ThreadX-v6.4.1/ports/cortex_r5/ghs/src/
Dtx_thread_fiq_context_restore.arm57 /* nested interrupt. If not, it returns to the interrupt thread if no */
59 /* if no thread was running, the function returns to the scheduler. */
130 /* Determine if a thread was interrupted and no preemption is required. */
143 LDR r1, =_tx_thread_current_ptr # Pickup address of current thread ptr
144 LDR r0, [r1] # Pickup actual current thread pointer
151 BNE __tx_thread_fiq_no_preempt_restore # Yes, don't preempt this thread
152 LDR r3, =_tx_thread_execute_ptr # Pickup address of execute thread ptr
153 LDR r2, [r3] # Pickup actual execute thread pointer
154 CMP r0, r2 # Is the same thread highest priority?
160 /* Restore interrupted thread or ISR. */
[all …]
/ThreadX-v6.4.1/ports/cortex_r7/ghs/src/
Dtx_thread_fiq_context_restore.arm57 /* nested interrupt. If not, it returns to the interrupt thread if no */
59 /* if no thread was running, the function returns to the scheduler. */
130 /* Determine if a thread was interrupted and no preemption is required. */
143 LDR r1, =_tx_thread_current_ptr # Pickup address of current thread ptr
144 LDR r0, [r1] # Pickup actual current thread pointer
151 BNE __tx_thread_fiq_no_preempt_restore # Yes, don't preempt this thread
152 LDR r3, =_tx_thread_execute_ptr # Pickup address of execute thread ptr
153 LDR r2, [r3] # Pickup actual execute thread pointer
154 CMP r0, r2 # Is the same thread highest priority?
160 /* Restore interrupted thread or ISR. */
[all …]
/ThreadX-v6.4.1/ports_smp/mips32_interaptiv_smp/gnu/src/
Dtx_thread_system_return.S109 lw $8, ($9) # Pickup current thread pointer
136 … addu $9, $9, $25 # Build address of current thread pointer for this VPE
138 lw $8, ($9) # Pickup current thread pointer
180 sw $9, 152($8) # Make this thread ready for scheduling
183 lw $9, 4($10) # Pickup owning thread
187 … bne $8, $9, _error_loop # If the owner is not this thread, we have a problem!
202 j $12 # Return to thread scheduler
/ThreadX-v6.4.1/ports/rxv2/gnu/src/
Dtx_thread_schedule.S103 MOV.L #__tx_thread_execute_ptr, R1 ; Address of thread to executer ptr
107 MOV.L [R1],R2 ; Pickup next thread to execute
109 BNE __tx_thread_thread_ready ; Not NULL, schedule the thread
110 ; Idle system - no thread is ready
130 MOV.L #__tx_thread_execute_ptr, R1 ; Address of thread to executer ptr
146 MOV.L R2,[R3] ; Setup current thread pointer
158 MOV.L 24[R2],R3 ; Pickup thread time-slice
/ThreadX-v6.4.1/ports/rxv2/iar/src/
Dtx_thread_schedule.s104 MOV.L #__tx_thread_execute_ptr, R1 ; Address of thread to executer ptr
108 MOV.L [R1],R2 ; Pickup next thread to execute
110 BNE __tx_thread_thread_ready ; Not NULL, schedule the thread
111 ; Idle system - no thread is ready
131 MOV.L #__tx_thread_execute_ptr, R1 ; Address of thread to executer ptr
147 MOV.L R2,[R3] ; Setup current thread pointer
159 MOV.L 24[R2],R3 ; Pickup thread time-slice
/ThreadX-v6.4.1/ports/rxv1/gnu/src/
Dtx_thread_schedule.S92 MOV.L #__tx_thread_execute_ptr, R1 ; Address of thread to executer ptr
96 MOV.L [R1],R2 ; Pickup next thread to execute
98 BNE __tx_thread_thread_ready ; Not NULL, schedule the thread
99 ; Idle system - no thread is ready
119 MOV.L #__tx_thread_execute_ptr, R1 ; Address of thread to executer ptr
135 MOV.L R2,[R3] ; Setup current thread pointer
147 MOV.L 24[R2],R3 ; Pickup thread time-slice
/ThreadX-v6.4.1/ports/arc_hs/metaware/src/
Dtx_thread_system_return.s81 ld r0, [gp, _tx_thread_current_ptr@sda] ; Pickup current thread ptr
91 st sp, [r0, 8] ; Save thread's stack pointer
129 bl.d _tx_execution_thread_exit ; Call the thread exit function
132 ld r0, [gp, _tx_thread_current_ptr@sda] ; Pickup current thread ptr
161 st r3, [gp, _tx_thread_current_ptr@sda] ; ..clearing current thread pointer
/ThreadX-v6.4.1/ports_smp/cortex_a9_smp/gnu/src/
Dtx_thread_smp_current_thread_get.S93 LDR r1, =_tx_thread_current_ptr @ Pickup start of the current thread array
94 ADD r1, r1, r2 @ Build index into the current thread array
95 LDR r0, [r1] @ Pickup current thread for this core
/ThreadX-v6.4.1/ports_smp/cortex_a7_smp/gnu/src/
Dtx_thread_smp_current_thread_get.S93 LDR r1, =_tx_thread_current_ptr @ Pickup start of the current thread array
94 ADD r1, r1, r2 @ Build index into the current thread array
95 LDR r0, [r1] @ Pickup current thread for this core
/ThreadX-v6.4.1/ports_smp/cortex_a5_smp/gnu/src/
Dtx_thread_smp_current_thread_get.S93 LDR r1, =_tx_thread_current_ptr @ Pickup start of the current thread array
94 ADD r1, r1, r2 @ Build index into the current thread array
95 LDR r0, [r1] @ Pickup current thread for this core
/ThreadX-v6.4.1/ports_smp/cortex_a7_smp/ac5/src/
Dtx_thread_smp_current_thread_get.s91 LDR r1, =_tx_thread_current_ptr ; Pickup start of the current thread array
92 ADD r1, r1, r2 ; Build index into the current thread array
93 LDR r0, [r1] ; Pickup current thread for this core
/ThreadX-v6.4.1/ports_smp/cortex_a9_smp/ac5/src/
Dtx_thread_smp_current_thread_get.s91 LDR r1, =_tx_thread_current_ptr ; Pickup start of the current thread array
92 ADD r1, r1, r2 ; Build index into the current thread array
93 LDR r0, [r1] ; Pickup current thread for this core
/ThreadX-v6.4.1/ports_smp/cortex_a5_smp/ac5/src/
Dtx_thread_smp_current_thread_get.s91 LDR r1, =_tx_thread_current_ptr ; Pickup start of the current thread array
92 ADD r1, r1, r2 ; Build index into the current thread array
93 LDR r0, [r1] ; Pickup current thread for this core
/ThreadX-v6.4.1/ports_module/cortex_r4/iar/module_manager/src/
Dtx_thread_context_restore.s128 LDR r1, =_tx_thread_current_ptr ; Pickup address of current thread ptr
129 LDR r0, [r1] ; Pickup actual current thread pointer
166 STMDB sp!, {r4-r12, lr} ; Save upper half of registers on thread's stack
173 LDR r1, =_tx_thread_current_ptr ; Pickup address of current thread ptr
174 LDR r0, [r1, #0] ; Pickup current thread pointer
188 STR sp, [r0, #8] ; Save stack pointer in thread control
215 STR r0, [r1] ; Clear current thread pointer
/ThreadX-v6.4.1/ports/arm9/gnu/src/
Dtx_thread_context_restore.S140 LDR r1, =_tx_thread_current_ptr @ Pickup address of current thread ptr
141 LDR r0, [r1] @ Pickup actual current thread pointer
189 LDR r1, =_tx_thread_current_ptr @ Pickup address of current thread ptr
190 LDR r0, [r1] @ Pickup current thread pointer
191 STR sp, [r0, #8] @ Save stack pointer in thread control
218 STR r0, [r1] @ Clear current thread pointer
/ThreadX-v6.4.1/ports/arm11/gnu/src/
Dtx_thread_context_restore.S140 LDR r1, =_tx_thread_current_ptr @ Pickup address of current thread ptr
141 LDR r0, [r1] @ Pickup actual current thread pointer
189 LDR r1, =_tx_thread_current_ptr @ Pickup address of current thread ptr
190 LDR r0, [r1] @ Pickup current thread pointer
191 STR sp, [r0, #8] @ Save stack pointer in thread control
218 STR r0, [r1] @ Clear current thread pointer
/ThreadX-v6.4.1/ports_smp/cortex_a5x_smp/green/src/
Dtx_thread_context_restore.a6451 /* nested interrupt. If not, it returns to the interrupt thread if no */
53 /* if no thread was running, the function returns to the scheduler. */
145 /* Determine if a thread was interrupted and no preemption is required. */
150 LDR x1, =_tx_thread_current_ptr // Pickup address of current thread ptr
151 LDR x0, [x1, x8, LSL #3] // Pickup actual current thread pointer
154 LDR x3, =_tx_thread_execute_ptr // Pickup address of execute thread ptr
155 LDR x2, [x3, x8, LSL #3] // Pickup actual execute thread pointer
156 CMP x0, x2 // Is the same thread highest priority?
157 B.EQ __tx_thread_no_preempt_restore // Same thread in the execute list,
162 B.NE __tx_thread_preempt_restore // No, proceed to preempt thread
[all …]

12345678910>>...26