From 210b9f58b7d71ca7bd7d58793abac3fb464ac831 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Tue, 27 Apr 2021 12:19:06 +0200 Subject: [PATCH] Increased time in TestSynchMultipleThreads --- winpr/libwinpr/synch/test/TestSynchMultipleThreads.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/winpr/libwinpr/synch/test/TestSynchMultipleThreads.c b/winpr/libwinpr/synch/test/TestSynchMultipleThreads.c index a2ca61c49..15352f043 100644 --- a/winpr/libwinpr/synch/test/TestSynchMultipleThreads.c +++ b/winpr/libwinpr/synch/test/TestSynchMultipleThreads.c @@ -54,7 +54,7 @@ static BOOL TestWaitForAll(void) { BOOL rc = FALSE; DWORD ret; - HANDLE threads[THREADS]; + HANDLE threads[THREADS] = { 0 }; /* WaitForAll, timeout */ if (start_threads(THREADS, threads)) { @@ -91,7 +91,7 @@ static BOOL TestWaitOne(void) { BOOL rc = FALSE; DWORD ret; - HANDLE threads[THREADS]; + HANDLE threads[THREADS] = { 0 }; /* WaitForAll, timeout */ if (start_threads(THREADS, threads)) { @@ -127,7 +127,7 @@ static BOOL TestWaitOneTimeout(void) { BOOL rc = FALSE; DWORD ret; - HANDLE threads[THREADS]; + HANDLE threads[THREADS] = { 0 }; /* WaitForAll, timeout */ if (start_threads(THREADS, threads)) { @@ -164,7 +164,7 @@ static BOOL TestWaitOneTimeoutMultijoin(void) { BOOL rc = FALSE; DWORD ret, i; - HANDLE threads[THREADS]; + HANDLE threads[THREADS] = { 0 }; /* WaitForAll, timeout */ if (start_threads(THREADS, threads)) { @@ -202,7 +202,7 @@ fail: static BOOL TestDetach(void) { - HANDLE threads[THREADS]; + HANDLE threads[THREADS] = { 0 }; /* WaitForAll, timeout */ if (start_threads(THREADS, threads)) {