Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
03224726
Commit
03224726
authored
Oct 26, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Oct 27, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32/tests: Adjust timing in test_CoWaitForMultipleHandles().
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
08cc7290
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
compobj.c
dlls/ole32/tests/compobj.c
+1
-3
No files found.
dlls/ole32/tests/compobj.c
View file @
03224726
...
...
@@ -2450,7 +2450,6 @@ static DWORD CALLBACK release_semaphore_thread( LPVOID arg )
static
DWORD
CALLBACK
send_message_thread
(
LPVOID
arg
)
{
HWND
hWnd
=
arg
;
Sleep
(
50
);
SendMessageA
(
hWnd
,
WM_DDE_FIRST
,
0
,
0
);
return
0
;
}
...
...
@@ -2467,7 +2466,6 @@ static DWORD CALLBACK send_and_post_user_message_thread(void *arg)
static
DWORD
CALLBACK
post_message_thread
(
LPVOID
arg
)
{
HWND
hWnd
=
arg
;
Sleep
(
50
);
PostMessageA
(
hWnd
,
WM_DDE_FIRST
,
0
,
0
);
return
0
;
}
...
...
@@ -2931,7 +2929,7 @@ static void test_CoWaitForMultipleHandles(void)
PostMessageA
(
hWnd
,
WM_QUIT
,
42
,
0
);
thread
=
CreateThread
(
NULL
,
0
,
send_message_thread
,
hWnd
,
0
,
&
tid
);
ok
(
thread
!=
NULL
,
"CreateThread failed, error %u
\n
"
,
GetLastError
());
hr
=
CoWaitForMultipleHandles
(
0
,
1
00
,
2
,
handles
,
&
index
);
hr
=
CoWaitForMultipleHandles
(
0
,
5
00
,
2
,
handles
,
&
index
);
ok
(
hr
==
RPC_S_CALLPENDING
,
"expected RPC_S_CALLPENDING, got 0x%08x
\n
"
,
hr
);
ok
(
index
==
0
||
broken
(
index
==
0xdeadbeef
)
/* Win 8 */
,
"expected index 0, got %u
\n
"
,
index
);
success
=
PeekMessageA
(
&
msg
,
hWnd
,
WM_DDE_FIRST
,
WM_DDE_FIRST
,
PM_REMOVE
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment