nuttx/sched
ligd 0a88799bab sched: fix task_delete crash in SMP case
A testcase as following:

child_task()
{
  sleep(3);
}

main_task()
{
  while (1)
    {
      ret = task_create("child_task", child_task, );
      sleep(1);

      task_delete(ret);
    }
}

Root casuse:
task_delete hasn's cover the condition that the deleted-task
is justing running on the other CPU.

Fix:
Let the nxsched_remove_readytorun() do the real work

Signed-off-by: ligd <liguiding1@xiaomi.com>
2023-01-18 14:11:18 +09:00
..
clock
environ
group group_leave: Don't instantiate address environment prior to destroying it 2023-01-18 11:02:19 +08:00
init
irq
misc assert: used %p to logout the pointer 2023-01-17 09:46:40 -03:00
module
mqueue
paging
pthread sched/pthread: check pthread group and flags before join 2023-01-18 11:57:40 +08:00
sched sched: fix task_delete crash in SMP case 2023-01-18 14:11:18 +09:00
semaphore
signal
task sched: fix task_delete crash in SMP case 2023-01-18 14:11:18 +09:00
timer
tls
wdog
wqueue sched/wqueue: do work_cancel when worker is not null 2023-01-16 13:37:00 +08:00
Kconfig
Makefile