Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
b3041ba6
Commit
b3041ba6
authored
Jan 14, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
Jan 14, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole: Optimisation for COM Calls.
Add an optimisation to yield and try to allow the RPC to run before waiting for messages and RPCs to arrive.
parent
30a90e18
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
rpc.c
dlls/ole32/rpc.c
+4
-1
No files found.
dlls/ole32/rpc.c
View file @
b3041ba6
...
...
@@ -290,7 +290,10 @@ static HRESULT WINAPI RpcChannelBuffer_SendReceive(LPRPCCHANNELBUFFER iface, RPC
if
(
apt
)
apartment_release
(
apt
);
if
(
hr
==
S_OK
)
hr
=
CoWaitForMultipleHandles
(
0
,
INFINITE
,
1
,
&
params
->
handle
,
&
index
);
{
if
(
WaitForSingleObject
(
params
->
handle
,
0
))
hr
=
CoWaitForMultipleHandles
(
0
,
INFINITE
,
1
,
&
params
->
handle
,
&
index
);
}
CloseHandle
(
params
->
handle
);
if
(
hr
==
S_OK
)
hr
=
params
->
hr
;
...
...
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