From 5fc4c9cbdc057ff5a55f2cb1b0ef40b0c4658ac7 Mon Sep 17 00:00:00 2001 From: limeng Date: Wed, 29 Sep 2021 10:33:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E7=9A=84=E7=BA=BF=E7=A8=8B?= =?UTF-8?q?=E5=A4=AA=E5=A4=9A=E4=BA=86=EF=BC=8C=E7=B3=BB=E7=BB=9F=E6=94=BE?= =?UTF-8?q?=E4=B8=8D=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: limeng Change-Id: I980c41f8fe3fdda26b4d2aba98095189629f4e17 --- kernel_lite/futex_posix/src/PthreadMutexTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel_lite/futex_posix/src/PthreadMutexTest.cpp b/kernel_lite/futex_posix/src/PthreadMutexTest.cpp index 6fe51cd80..79acf98d9 100755 --- a/kernel_lite/futex_posix/src/PthreadMutexTest.cpp +++ b/kernel_lite/futex_posix/src/PthreadMutexTest.cpp @@ -50,7 +50,7 @@ void *ThreadMutex(void *arg) HWTEST_F(FutexTest, testPthreadMutex, Function | MediumTest | Level3) { pthread_mutex_t mtx; - const int loopNum = 10; + const int loopNum = 5; pthread_t tid[loopNum]; EXPECT_EQ(pthread_mutex_init(&mtx, nullptr), 0) << "> return errno"; @@ -504,7 +504,7 @@ void *ThreadSpinlock(void *arg) HWTEST_F(FutexTest, testPthreadSpinlock, Function | MediumTest | Level3) { pthread_spinlock_t spinLock; - const int loopNum = 30; + const int loopNum = 5; pthread_t tid[loopNum]; EXPECT_EQ(pthread_spin_init(&spinLock, 0), 0); -- GitLab