mirror of
https://github.com/FreeRTOS/Lab-Project-FreeRTOS-POSIX.git
synced 2025-10-16 05:37:18 +08:00

* Fix detach race condition pxThread->xAttr.usSchedPriorityDetachState may be changed by pthread_detach(). Suspend scheduler to prevent race condition. Signed-off-by: wangfei_chen <wangfei_chen@realsil.com.cn> * Fix compiler warnings --------- Signed-off-by: wangfei_chen <wangfei_chen@realsil.com.cn> Co-authored-by: wangfei_chen <wangfei_chen@realsil.com.cn> Co-authored-by: Rahul Kar <karahulx@amazon.com>