!1045 Fix : pthread_cond_timedwait 信号丢失问题修复挑单到3.1-Release 分支

Merge pull request !1045 from yinjiaming/cherry-pick-1680507618
This commit is contained in:
openharmony_ci 2023-04-11 01:58:35 +00:00 committed by Gitee
commit d4d56b2b7c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 0 additions and 1 deletions

View File

@ -309,7 +309,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) {