未验证 提交 a5dffd7c 编写于 作者: O openharmony_ci 提交者: Gitee

!1024 【回合monthly_1018】fix: pthread_create时序调整

Merge pull request !1024 from Zhaotianyu/cherry-pick-1676023301
......@@ -221,10 +221,10 @@ int pthread_create(pthread_t *thread, const pthread_attr_t *attr,
LOS_ListAdd(&g_pthreadListHead, &pthreadData->threadList);
LOS_IntRestore(intSave);
(void)LOS_TaskResume(taskID);
*thread = (pthread_t)taskID;
(void)LOS_TaskResume(taskID);
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册