incubator-nuttx/sched
Ville Juven 112b8cf470 sched/task_exit.c: Refresh current CPU instead of relying on stale value
The comment about the CPU index remaining stable is incorrect. There is no
guarantee the task does not yield during the exit process, meaning the CPU
can most definitely change. Also, there is no reason why it should not be
allowed to change.

This fixes a full system crash during process exit when the CPU changes
and we query the current task from the old CPU.
2024-10-22 23:28:52 +08:00
..
addrenv
clock
environ
event
group
init
instrument
irq
misc
module
mqueue
paging
pthread
sched
semaphore
signal
task
timer
tls
wdog
wqueue
CMakeLists.txt
Kconfig
Makefile