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
e81d453f
Commit
e81d453f
authored
Dec 11, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Convert the handles to server handles in NTDLL_wait_for_multiple_objects.
parent
dcbe616a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
sync.c
dlls/ntdll/sync.c
+4
-2
No files found.
dlls/ntdll/sync.c
View file @
e81d453f
...
...
@@ -1037,14 +1037,16 @@ NTSTATUS NTDLL_wait_for_multiple_objects( UINT count, const HANDLE *handles, UIN
const
LARGE_INTEGER
*
timeout
,
HANDLE
signal_object
)
{
NTSTATUS
ret
;
int
cookie
;
int
i
,
cookie
;
BOOL
user_apc
=
FALSE
;
obj_handle_t
obj_handles
[
MAXIMUM_WAIT_OBJECTS
];
obj_handle_t
apc_handle
=
0
;
apc_call_t
call
;
apc_result_t
result
;
timeout_t
abs_timeout
=
timeout
?
timeout
->
QuadPart
:
TIMEOUT_INFINITE
;
memset
(
&
result
,
0
,
sizeof
(
result
)
);
for
(
i
=
0
;
i
<
count
;
i
++
)
obj_handles
[
i
]
=
wine_server_obj_handle
(
handles
[
i
]
);
for
(;;)
{
...
...
@@ -1056,7 +1058,7 @@ NTSTATUS NTDLL_wait_for_multiple_objects( UINT count, const HANDLE *handles, UIN
req
->
prev_apc
=
apc_handle
;
req
->
timeout
=
abs_timeout
;
wine_server_add_data
(
req
,
&
result
,
sizeof
(
result
)
);
wine_server_add_data
(
req
,
handles
,
count
*
sizeof
(
HANDLE
)
);
wine_server_add_data
(
req
,
obj_handles
,
count
*
sizeof
(
*
obj_handles
)
);
ret
=
wine_server_call
(
req
);
abs_timeout
=
reply
->
timeout
;
apc_handle
=
reply
->
apc_handle
;
...
...
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