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
89f5c824
Commit
89f5c824
authored
Jan 12, 2005
by
Robert Shearman
Committed by
Alexandre Julliard
Jan 12, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The way apartments are used has changed, so fix up the hacks in the
RPC code that haven't yet been updated.
parent
36f482cb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
rpc.c
dlls/ole32/rpc.c
+2
-2
No files found.
dlls/ole32/rpc.c
View file @
89f5c824
...
...
@@ -854,7 +854,7 @@ static DWORD WINAPI stub_dispatch_thread(LPVOID param)
TRACE
(
"starting for apartment OXID %08lx%08lx
\n
"
,
(
DWORD
)(
xpipe
->
mid
.
oxid
>>
32
),
(
DWORD
)(
xpipe
->
mid
.
oxid
));
/* join marshalling apartment. fixme: this stuff is all very wrong, threading needs to work like native */
NtCurrentTeb
()
->
ReservedForOle
=
xpipe
->
apt
;
COM_CurrentInfo
()
->
apt
=
xpipe
->
apt
;
while
(
!
hres
)
{
int
i
;
...
...
@@ -901,7 +901,7 @@ static DWORD WINAPI apartment_listener_thread(LPVOID p)
HeapFree
(
GetProcessHeap
(),
0
,
params
);
/* we must join the marshalling threads apartment. we already have a ref here */
NtCurrentTeb
()
->
ReservedForOle
=
apt
;
COM_CurrentInfo
()
->
apt
=
apt
;
sprintf
(
pipefn
,
OLESTUBMGR
"_%08lx%08lx"
,
(
DWORD
)(
apt
->
oxid
>>
32
),
(
DWORD
)(
apt
->
oxid
));
TRACE
(
"Apartment listener thread starting on (%s)
\n
"
,
pipefn
);
...
...
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