mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 11:26:12 +08:00
arch: unify the scheduling information of task_exit
Replace all nxsched_suspend/resume_*** with nxsched_switch_context Delete nxsched_resume_scheduler in up_exit and call it uniformly in task_exit Co-authored-by: yinshengkai <yinshengkai@xiaomi.com> Signed-off-by: guoshengyuan1 <guoshengyuan1@xiaomi.com>
This commit is contained in:
@@ -71,7 +71,6 @@ void up_exit(int status)
|
||||
* NOTE: the API also adjusts the global IRQ control for SMP
|
||||
*/
|
||||
|
||||
nxsched_resume_scheduler(tcb);
|
||||
g_running_tasks[this_cpu()] = tcb;
|
||||
|
||||
#ifdef CONFIG_ARCH_ADDRENV
|
||||
|
||||
Reference in New Issue
Block a user