!1046 Fix : pthread_cond_timedwait 信号丢失问题修复挑单到3.0-LTS 分支
Merge pull request !1046 from yinjiaming/cherry-pick-1680507888
This commit is contained in:
commit
cc6b4e3b06
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue