mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-22 19:44:24 +08:00
[bsp/phytium]c++支持,gpio,qspi驱动修改 (#9059)
* GPIO驱动与QSPI驱动适配 * C++支持 * update --------- Co-authored-by: 张衍 <zhangyan1491@phytium.com.cn>
This commit is contained in:
@@ -354,7 +354,7 @@ int pthread_detach(pthread_t thread)
|
||||
goto __exit;
|
||||
}
|
||||
|
||||
if ((ptd->tid->stat & RT_THREAD_STAT_MASK) == RT_THREAD_CLOSE)
|
||||
if ((RT_SCHED_CTX(ptd->tid).stat & RT_THREAD_STAT_MASK) == RT_THREAD_CLOSE)
|
||||
{
|
||||
/* destroy this pthread */
|
||||
_pthread_data_destroy(ptd);
|
||||
|
||||
Reference in New Issue
Block a user