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 sched/pthread/join: refactor pthread join to support join task 2024-03-13 18:06:56 +09:00
exit.c sched/tcb: fix 12320 regression 2024-06-26 00:20:26 +08:00
Make.defs sched/pthread/join: refactor pthread join to support join task 2024-03-13 18:06:56 +09:00
spawn.h sched/task: Remove spawn_proxyattrs as obsolete implementation 2023-10-30 22:30:03 +08:00
task_activate.c sched/logging: add task activation/exit logs 2024-01-14 23:04:42 -08:00
task_cancelpt.c task/pthread_cancelpt: Fix task_delete from another task group 2023-11-22 08:05:58 -08:00
task_create.c sched/tcb: use shared group for kthreads 2024-06-23 22:24:19 +08:00
task_delete.c sched: fix the minor style issue 2023-10-25 15:46:45 +08:00
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 sched/group: replace group_findbypid to task_getgroup 2024-03-05 22:24:52 +08:00
task_getpid.c
task_getppid.c
task_gettid.c
task_init.c sched/task: minor polish on task_init() 2024-05-08 15:43:25 +08:00
task_join.c sched/pthread/join: refactor pthread join to support join task 2024-03-13 18:06:56 +09:00
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 sched/group: replace group_findbypid to task_getgroup 2024-03-05 22:24:52 +08:00
task_restart.c sched/tasklist: replace task status list with macro definition 2024-03-21 11:23:46 +09:00
task_setup.c task: assign_pid retry after malloc 2024-09-03 09:45:33 -03:00
task_spawn.c sched/tcb: add free tcb flag to support static tcb 2024-03-04 20:05:11 +08:00
task_spawnparms.c sched/taskfiles: skip unnecessary file open/close operations to improve performance 2023-11-16 07:30:36 -08:00
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 sched/pthread/join: refactor pthread join to support join task 2024-03-13 18:06:56 +09:00