Searched refs:to_thread (Results 1 – 2 of 2) sorted by relevance
| /src/ |
| A D | scheduler_mp.c | 512 RT_NAME_MAX, to_thread->parent.name, to_thread->sp); in rt_system_scheduler_start() 517 rt_hw_context_switch_to((rt_ubase_t)&to_thread->sp, to_thread); in rt_system_scheduler_start() 694 return to_thread; in _prepare_context_switch_locked() 853 if (to_thread) in rt_sched_unlock_n_resched() 860 RT_NAME_MAX, to_thread->parent.name, to_thread->sp, in rt_sched_unlock_n_resched() 864 (rt_ubase_t)&to_thread->sp, to_thread); in rt_sched_unlock_n_resched() 950 if (to_thread) in rt_schedule() 956 RT_NAME_MAX, to_thread->parent.name, to_thread->sp, in rt_schedule() 960 (rt_ubase_t)&to_thread->sp, to_thread); in rt_schedule() 1033 if (to_thread) in rt_scheduler_do_irq_switch() [all …]
|
| A D | scheduler_up.c | 238 struct rt_thread *to_thread; in rt_system_scheduler_start() local 243 rt_cpu_self()->current_thread = to_thread; in rt_system_scheduler_start() 248 rt_sched_remove_thread(to_thread); in rt_system_scheduler_start() 282 struct rt_thread *to_thread; in rt_schedule() local 306 to_thread = curr_thread; in rt_schedule() 311 to_thread = curr_thread; in rt_schedule() 319 if (to_thread != curr_thread) in rt_schedule() 338 rt_sched_remove_thread(to_thread); in rt_schedule() 339 …RT_SCHED_CTX(to_thread).stat = RT_THREAD_RUNNING | (RT_SCHED_CTX(to_thread).stat & ~RT_THREAD_STAT… in rt_schedule() 346 RT_NAME_MAX, to_thread->parent.name, to_thread->sp, in rt_schedule() [all …]
|
Completed in 7 milliseconds