incubator-nuttx/sched
Mingjie Shen c40421c05b SMP: Fix returning uninitialized variable in nxsched_add_readytorun()
Prior to this commit, doswitch is returned uninitialized if
(task_state == TSTATE_TASK_ASSIGNED || task_state == TSTATE_TASK_RUNNING)
&& no context switch occurs
&& (cpu == me).

Signed-off-by: Mingjie Shen <shen497@purdue.edu>
2024-04-03 22:30:45 +09:00
..
addrenv cmake:complete missing changes during cmake reforming for sched 2023-09-08 21:20:16 +03:00
clock sched/group: change type of task group member to single queue 2024-03-07 12:39:29 +08:00
environ sched/environ: Improve performance of set/unset environment 2024-04-03 00:10:56 +08:00
group sched/group/group_killchildren.c: Force-cancel children if parent is force-cancelled 2024-03-20 18:03:15 -03:00
init sched/mqueue: merge System-V message queue initialize into posix 2024-03-26 17:32:11 +01:00
instrument sched/procfs:use instrument to statistics run time max stack 2023-12-11 02:06:51 -08:00
irq sched/irq: spinlock should not depends on SMP 2024-03-26 15:21:52 +08:00
misc sched/cpu: replace up_cpu_index() to this_cpu() 2024-03-21 18:52:35 +08:00
module fs: procfs add poll support 2023-12-26 19:23:13 -08:00
mqueue sched/mqueue: merge System-V message queue initialize into posix 2024-03-26 17:32:11 +01:00
paging sched/tasklist: replace task status list with macro definition 2024-03-21 11:23:46 +09:00
pthread sched/tasklist: replace task status list with macro definition 2024-03-21 11:23:46 +09:00
sched SMP: Fix returning uninitialized variable in nxsched_add_readytorun() 2024-04-03 22:30:45 +09:00
semaphore shced:sem: replace mutex with spinlock 2024-03-19 18:06:12 +08:00
signal sched/signal: add sanity check for siginfo 2024-03-26 20:55:04 +08:00
task sched: replace some global variables to macro 2024-03-21 18:51:25 +08:00
timer Replace enter_critical_section with spin_irqsave 2023-10-21 11:00:07 +08:00
tls stdio/file: unify group file list to common single queue 2024-03-18 19:32:49 +08:00
wdog clock: replace all up_perf_xx with perf_xx 2023-10-02 16:11:43 +02:00
wqueue sched/wqueue: replace some global variables to macro 2024-03-21 11:22:41 +09:00
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Kconfig sched: move etc romfs mount from nsh to sched/init 2024-01-09 21:29:46 -03:00
Makefile sched/procfs:use instrument to statistics run time max stack 2023-12-11 02:06:51 -08:00