mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
a2941532bd
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>