From ba3b2768ec72179f4762bde83e10802a5a709096 Mon Sep 17 00:00:00 2001 From: yinjiaming Date: Fri, 31 Mar 2023 10:35:23 +0800 Subject: [PATCH] =?UTF-8?q?fixed=202374c01=20from=20https://gitee.com/hgbv?= =?UTF-8?q?eiu743/kernel=5Fliteos=5Fm/pulls/1043=20fix:pthread=5Fcond=5Fti?= =?UTF-8?q?medwait=E8=A7=A3=E9=94=81=E5=90=8E=E6=B8=85=E7=90=86=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20=E8=AF=A5=E5=87=BD=E6=95=B0=E8=A7=A3?= =?UTF-8?q?=E9=94=81mutex=20=E5=90=8E=E5=85=88=E6=B8=85=E7=90=86=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6=EF=BC=8C=E5=AF=BC=E8=87=B4=E7=AD=89=E7=9A=84=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6=E4=B8=A2=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yinjiaming Change-Id: I36f8658b1b850734bc029b486fec103f6bd10588 --- kal/posix/src/pthread_cond.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kal/posix/src/pthread_cond.c b/kal/posix/src/pthread_cond.c index fde08678..508ba7dc 100644 --- a/kal/posix/src/pthread_cond.c +++ b/kal/posix/src/pthread_cond.c @@ -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) { -- Gitee