mirror of
https://github.com/apache/nuttx.git
synced 2026-08-10 23:15:15 +00:00
sched/task: do not migrate the task state to INVALID
which still on used in task/nxmq_recover() Change-Id: I31273aadd9e09c283cc3d0420dfc854ca8ae1899 Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
parent
ff3fa805a4
commit
d0bde1114d
1 changed files with 0 additions and 1 deletions
|
|
@ -158,7 +158,6 @@ int nxtask_terminate(pid_t pid, bool nonblocking)
|
|||
/* Remove the task from the task list */
|
||||
|
||||
dq_rem((FAR dq_entry_t *)dtcb, tasklist);
|
||||
dtcb->task_state = TSTATE_TASK_INVALID;
|
||||
|
||||
/* At this point, the TCB should no longer be accessible to the system */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue