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
b0153951
Commit
b0153951
authored
Aug 27, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Increase some wait timeouts.
parent
4c850f0e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
loader.c
dlls/kernel32/tests/loader.c
+3
-3
No files found.
dlls/kernel32/tests/loader.c
View file @
b0153951
...
@@ -1101,9 +1101,9 @@ static DWORD WINAPI mutex_thread_proc(void *param)
...
@@ -1101,9 +1101,9 @@ static DWORD WINAPI mutex_thread_proc(void *param)
wait_list
[
2
]
=
peb_lock_event
;
wait_list
[
2
]
=
peb_lock_event
;
wait_list
[
3
]
=
heap_lock_event
;
wait_list
[
3
]
=
heap_lock_event
;
trace
(
"%04u: mutex_thread_proc: starting
\n
"
,
GetCurrentThreadId
());
while
(
1
)
while
(
1
)
{
{
trace
(
"%04u: mutex_thread_proc: still alive
\n
"
,
GetCurrentThreadId
());
ret
=
WaitForMultipleObjects
(
sizeof
(
wait_list
)
/
sizeof
(
wait_list
[
0
]),
wait_list
,
FALSE
,
50
);
ret
=
WaitForMultipleObjects
(
sizeof
(
wait_list
)
/
sizeof
(
wait_list
[
0
]),
wait_list
,
FALSE
,
50
);
if
(
ret
==
WAIT_OBJECT_0
)
break
;
if
(
ret
==
WAIT_OBJECT_0
)
break
;
else
if
(
ret
==
WAIT_OBJECT_0
+
1
)
else
if
(
ret
==
WAIT_OBJECT_0
+
1
)
...
@@ -1702,9 +1702,9 @@ static void child_process(const char *dll_name, DWORD target_offset)
...
@@ -1702,9 +1702,9 @@ static void child_process(const char *dll_name, DWORD target_offset)
}
}
else
else
{
{
ret
=
WaitForSingleObject
(
attached_thread
[
0
],
100
);
ret
=
WaitForSingleObject
(
attached_thread
[
0
],
100
0
);
ok
(
ret
==
WAIT_OBJECT_0
,
"expected WAIT_OBJECT_0, got %#x
\n
"
,
ret
);
ok
(
ret
==
WAIT_OBJECT_0
,
"expected WAIT_OBJECT_0, got %#x
\n
"
,
ret
);
ret
=
WaitForSingleObject
(
attached_thread
[
1
],
100
);
ret
=
WaitForSingleObject
(
attached_thread
[
1
],
100
0
);
ok
(
ret
==
WAIT_OBJECT_0
,
"expected WAIT_OBJECT_0, got %#x
\n
"
,
ret
);
ok
(
ret
==
WAIT_OBJECT_0
,
"expected WAIT_OBJECT_0, got %#x
\n
"
,
ret
);
}
}
...
...
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