Commit Graph

3 Commits

Author SHA1 Message Date
Saiiijchan
14ee4b2c7c Fix detach race condition (#43)
* 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>
2025-04-04 13:03:23 +05:30
João Vitor Teixeira
3b33c3467d Create ptread_detach. (#11)
Create ptread_detach.
2021-12-14 10:12:45 -08:00
Yuhui Zheng
eb87d247f9 After this commit, this repository contains only POSIX source code. 2020-02-21 11:58:33 -08:00