!1043 Fix : pthread_cond_timedwait 函数等待的信号丢失问题

Merge pull request !1043 from yinjiaming/fix
This commit is contained in:
openharmony_ci 2023-03-31 09:11:33 +00:00 committed by Gitee
commit fe69c9dd65
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 0 additions and 1 deletions

View File

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