nuttx/sched/task
yinshengkai baf79de7e5 task: assign_pid retry after malloc
Calling malloc in the critical section may cause thread switching.
Add a retry mechanism to handle the situation where other threads have been successfully expanded.

Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
Signed-off-by: ligd <liguiding1@xiaomi.com>
2024-09-03 09:45:33 -03:00
..
CMakeLists.txt
exit.c sched/tcb: fix 12320 regression 2024-06-26 00:20:26 +08:00
Make.defs
spawn.h
task_activate.c
task_cancelpt.c
task_create.c sched/tcb: use shared group for kthreads 2024-06-23 22:24:19 +08:00
task_delete.c
task_execve.c
task_exit.c sched:remove g_cpu_schedlock g_cpu_irqsetlock g_cpu_locksetlock 2024-06-21 11:11:07 +09:00
task_exithook.c sched: move nxsched_dumponexit() to task_exithook 2024-06-30 17:30:42 +08:00
task_fork.c task_fork.c: Fix vfork for BUILD_KERNEL 2024-08-01 10:58:25 -03:00
task_getgroup.c
task_getpid.c
task_getppid.c
task_gettid.c
task_init.c
task_join.c
task_posixspawn.c sched/posixspawn: disable tedious logging 2024-05-10 15:40:34 +08:00
task_prctl.c
task_recover.c
task_reparent.c
task_restart.c
task_setup.c task: assign_pid retry after malloc 2024-09-03 09:45:33 -03:00
task_spawn.c
task_spawnparms.c
task_start.c sched/tcb: use shared group for kthreads 2024-06-23 22:24:19 +08:00
task_starthook.c
task_terminate.c
task.h