nuttx/sched
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
..
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 [env]:Fixed spacing and typo issues in code comment descriptions 2024-08-27 21:52:56 +08:00
event sched/event: clear pending events before enable the scheduler 2024-09-02 18:24:28 +08:00
group spin_lock: inline spin_lock 2024-07-15 02:29:30 +08:00
init docs: fix typo in nx_smpstart.c 2024-08-21 17:07:19 +08:00
instrument sched/procfs:use instrument to statistics run time max stack 2023-12-11 02:06:51 -08:00
irq irq: add isr thread 2024-08-27 21:49:53 +08:00
misc sched/policy: move g_policy from data to rodata 2024-09-02 18:23:57 +08:00
module fs: procfs add poll support 2023-12-26 19:23:13 -08:00
mqueue nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
paging sched/tasklist: replace task status list with macro definition 2024-03-21 11:23:46 +09:00
pthread sched/pthread: simplify pthread_create() branch logic 2024-06-07 01:32:42 +08:00
sched sched: update spinlock in nxsched_get_tcb to enter_critical_section 2024-09-03 09:45:33 -03:00
semaphore spin_lock: inline spin_lock 2024-07-15 02:29:30 +08:00
signal sched/signal: fix pthread_kill use after free 2024-08-23 20:02:46 +08:00
task task: assign_pid retry after malloc 2024-09-03 09:45:33 -03:00
timer timer: use spin_lock_irqsave protect g_alloctimers 2024-04-11 10:45:34 +08:00
tls sched:fix windows sim build error 2024-08-14 22:36:57 +08:00
wdog clock: replace all up_perf_xx with perf_xx 2023-10-02 16:11:43 +02:00
wqueue wqueue: add interface work_queue_priority_wq and work_queue_priority 2024-08-30 21:40:55 +08:00
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Kconfig sched/nxevent: add support of kernel event group 2024-08-23 17:00:35 +08:00
Makefile sched/nxevent: add support of kernel event group 2024-08-23 17:00:35 +08:00