incubator-nuttx/sched/task
Huang Qi a2941532bd pthread: Avoid recursive pthread_exit call
pthread_exit will be called recursive when pthread_cancel
or other cleanup operation with syscalls that support
cancellation, to avoid this by mark current tcb flag as
TCB_FLAG_CANCEL_DOING instead of TCB_FLAG_CANCEL_PENDING.

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2021-05-21 22:46:52 -06:00
..
Make.defs sched: Don't forward gettid to getpid directly 2021-03-04 17:17:41 -06:00
exit.c libc: Move pthread_cleanup to user space 2021-05-21 22:46:52 -06:00
spawn.h Fix typos reported by codespell 2021-02-25 11:31:49 -08:00
task.h sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
task_activate.c
task_atexit.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
task_cancelpt.c pthread: Avoid recursive pthread_exit call 2021-05-21 22:46:52 -06:00
task_create.c sched: Change tcb_s to task_tcb_s for nxtask_[un]init 2020-06-30 10:54:42 -06:00
task_delete.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
task_execv.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
task_exit.c Fix typos reported by codespell 2021-02-25 11:31:49 -08:00
task_exithook.c sched: Remove all group id related stuff 2021-03-05 20:35:22 +08:00
task_getgroup.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
task_getpid.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
task_getppid.c sched: Remove all group id related stuff 2021-03-05 20:35:22 +08:00
task_gettid.c sched: Don't forward gettid to getpid directly 2021-03-04 17:17:41 -06:00
task_init.c arch: Allocate the space from the beginning in up_stack_frame 2021-04-16 12:41:41 +09:00
task_onexit.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
task_posixspawn.c Don't include errno.h from spawn.h 2021-05-19 10:11:15 +02:00
task_prctl.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
task_recover.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
task_reparent.c sched: Remove all group id related stuff 2021-03-05 20:35:22 +08:00
task_restart.c sched/group: Change group_kill_children's argument from task_tcb_s to tcb_s 2020-06-15 07:09:51 -06:00
task_setcancelstate.c pthread: Avoid recursive pthread_exit call 2021-05-21 22:46:52 -06:00
task_setcanceltype.c pthread: Avoid recursive pthread_exit call 2021-05-21 22:46:52 -06:00
task_setup.c sched: Remove all group id related stuff 2021-03-05 20:35:22 +08:00
task_spawn.c Don't include errno.h from spawn.h 2021-05-19 10:11:15 +02:00
task_spawnparms.c Don't include errno.h from spawn.h 2021-05-19 10:11:15 +02:00
task_start.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
task_starthook.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
task_terminate.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
task_testcancel.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
task_vfork.c arch: Allocate the space from the beginning in up_stack_frame 2021-04-16 12:41:41 +09:00