!1046 Fix : pthread_cond_timedwait 信号丢失问题修复挑单到3.0-LTS 分支

Merge pull request !1046 from yinjiaming/cherry-pick-1680507888
This commit is contained in:
openharmony_ci 2023-04-10 09:20:52 +00:00 committed by Gitee
commit cc6b4e3b06
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 0 additions and 1 deletions

View File

@ -245,7 +245,6 @@ int pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex,
PRINT_ERR("%s: %d failed\n", __FUNCTION__, __LINE__);
}
(VOID)LOS_EventClear(&(cond->event), 0);
ret = (INT32)LOS_EventRead(&(cond->event), 0x0f, LOS_WAITMODE_OR | LOS_WAITMODE_CLR, (UINT32)absTicks);
if (pthread_mutex_lock(mutex) != 0) {