Alexandre Julliard : user32/tests: Fix the dde test race correctly this time.

Alexandre Julliard julliard at winehq.org
Thu Jun 5 09:15:31 CDT 2008


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Jun  5 12:43:17 2008 +0200

user32/tests: Fix the dde test race correctly this time.

---

 dlls/user32/tests/dde.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/user32/tests/dde.c b/dlls/user32/tests/dde.c
index f64e61d..b9d8a87 100644
--- a/dlls/user32/tests/dde.c
+++ b/dlls/user32/tests/dde.c
@@ -233,8 +233,8 @@ static void test_msg_server(HANDLE hproc, HANDLE hthread)
     HWND hwnd;
     DWORD res;
 
-    ResumeThread( hthread );
     create_dde_window(&hwnd, "dde_server", dde_server_wndproc);
+    ResumeThread( hthread );
 
     while (MsgWaitForMultipleObjects( 1, &hproc, FALSE, INFINITE, QS_ALLINPUT ) != 0)
     {




More information about the wine-cvs mailing list