arch: fix the sched parameter update when exiting

Signed-off-by: buxiasen <buxiasen@xiaomi.com>
This commit is contained in:
buxiasen
2024-08-01 23:05:29 +08:00
committed by Xiang Xiao
parent 4e5a963443
commit 0b3859521a
20 changed files with 38 additions and 32 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ void up_exit(int status)
/* Adjusts time slice for RR & SPORADIC cases */
nxsched_resume_scheduler(tcb);
g_running_tasks[this_cpu()] = NULL;
/* Then switch contexts */
+1 -1
View File
@@ -68,7 +68,7 @@ void up_exit(int status)
/* Adjusts time slice for SCHED_RR & SCHED_SPORADIC cases */
nxsched_resume_scheduler(tcb);
g_running_tasks[this_cpu()] = NULL;
/* Then switch contexts */