Bruno Jesus : ws2_32/tests: Wait for thread test before returning ( valgrind).

Alexandre Julliard julliard at winehq.org
Mon Jun 16 12:37:50 CDT 2014


Module: wine
Branch: master
Commit: e3998e39886cbdca012af937b9efe081b83c18a7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e3998e39886cbdca012af937b9efe081b83c18a7

Author: Bruno Jesus <00cpxxx at gmail.com>
Date:   Sat Jun 14 14:47:30 2014 -0300

ws2_32/tests: Wait for thread test before returning (valgrind).

---

 dlls/ws2_32/tests/sock.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c
index fb5ee1d..8a9cbba 100644
--- a/dlls/ws2_32/tests/sock.c
+++ b/dlls/ws2_32/tests/sock.c
@@ -5454,6 +5454,7 @@ static void test_WSARecv(void)
 
     send(src, "test message", sizeof("test message"), 0);
     thread = CreateThread(NULL, 0, recv_thread, &dest, 0, &id);
+    WaitForSingleObject(thread, 3000);
     CloseHandle(thread);
 
 end:




More information about the wine-cvs mailing list