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 sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
clock cmake:refine nuttx cmake build system fix CMake build missing part 2024-10-13 02:25:06 +08:00
environ sched/environ: There is no need to use sched_[un]lock 2024-10-11 02:43:11 +08:00
event sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
group Revert "sched/group/setuptask_file: duplicate idle task fd for kernel thread" 2024-10-11 16:53:19 +08:00
init sched: add up_this_task and up_change_task macro stub 2024-10-15 15:25:55 +08:00
instrument sched/instrument: rename stack_record.c to stack_monitor.c 2024-10-13 02:10:41 +08:00
irq Revert "sched/spinlock: remove nesting spinlock support" 2024-10-14 17:42:16 +08:00
misc coredump: measure the system's running time in milliseconds unit 2024-10-16 15:35:21 +08:00
module modlib:Standardized module loading method 2024-10-05 15:22:02 +08:00
mqueue mq: change mqueue msg mail to dynamic array 2024-10-07 20:20:13 +08:00
paging sched: add nxsched_remove_self 2024-09-24 22:07:00 +08:00
pthread sched/pthread: Remove unused pthread_sem_xxx functions 2024-10-13 02:47:44 +08:00
sched sched: remove duplicate functions 2024-10-16 13:58:59 +08:00
semaphore cmake:refine nuttx cmake build system fix CMake build missing part 2024-10-13 02:25:06 +08:00
signal sched: Use spinlock repalce sched_[un]lock in some place 2024-10-16 13:53:51 +08:00
task sched/task_exit.c: Refresh current CPU instead of relying on stale value 2024-10-22 23:28:52 +08:00
timer sched/timer: Simplify setitimer implementation. 2024-10-18 23:58:07 +08:00
tls sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
wdog sched/wdog: Fix code style 2024-10-10 13:57:46 +08:00
wqueue sched/wqueue: Fix unexpected dq entry status 2024-09-17 02:56:39 +08:00
CMakeLists.txt sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
Kconfig libc/modlib: Make modlib selectable from defconfig 2024-10-16 10:11:20 +08:00
Makefile Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00