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
139d6247
Commit
139d6247
authored
Feb 15, 2024
by
Paul Gofman
Committed by
Alexandre Julliard
Feb 16, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Force debug info in critical sections.
parent
67bea281
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
rpc_assoc.c
dlls/rpcrt4/rpc_assoc.c
+2
-2
rpc_server.c
dlls/rpcrt4/rpc_server.c
+1
-1
rpc_transport.c
dlls/rpcrt4/rpc_transport.c
+1
-1
rpcrt4_main.c
dlls/rpcrt4/rpcrt4_main.c
+1
-1
No files found.
dlls/rpcrt4/rpc_assoc.c
View file @
139d6247
...
...
@@ -72,7 +72,7 @@ static RPC_STATUS RpcAssoc_Alloc(LPCSTR Protseq, LPCSTR NetworkAddr,
assoc
->
refs
=
1
;
list_init
(
&
assoc
->
free_connection_pool
);
list_init
(
&
assoc
->
context_handle_list
);
InitializeCriticalSection
(
&
assoc
->
cs
);
InitializeCriticalSection
Ex
(
&
assoc
->
cs
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
assoc
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": RpcAssoc.cs"
);
assoc
->
Protseq
=
strdup
(
Protseq
);
assoc
->
NetworkAddr
=
strdup
(
NetworkAddr
);
...
...
@@ -463,7 +463,7 @@ RPC_STATUS RpcServerAssoc_AllocateContextHandle(RpcAssoc *assoc, void *CtxGuard,
return
RPC_S_OUT_OF_MEMORY
;
context_handle
->
ctx_guard
=
CtxGuard
;
InitializeCriticalSection
(
&
context_handle
->
lock
);
InitializeCriticalSection
Ex
(
&
context_handle
->
lock
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
context_handle
->
lock
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": RpcContextHandle.lock"
);
context_handle
->
refs
=
1
;
...
...
dlls/rpcrt4/rpc_server.c
View file @
139d6247
...
...
@@ -965,7 +965,7 @@ static RPC_STATUS alloc_serverprotoseq(UINT MaxCalls, const char *Protseq, RpcSe
(
*
ps
)
->
ops
=
ops
;
list_init
(
&
(
*
ps
)
->
listeners
);
list_init
(
&
(
*
ps
)
->
connections
);
InitializeCriticalSection
(
&
(
*
ps
)
->
cs
);
InitializeCriticalSection
Ex
(
&
(
*
ps
)
->
cs
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
(
*
ps
)
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": RpcServerProtseq.cs"
);
list_add_head
(
&
protseqs
,
&
(
*
ps
)
->
entry
);
...
...
dlls/rpcrt4/rpc_transport.c
View file @
139d6247
...
...
@@ -1756,7 +1756,7 @@ static RpcConnection *rpcrt4_ncacn_http_alloc(void)
httpc
->
cancel_event
=
CreateEventW
(
NULL
,
FALSE
,
FALSE
,
NULL
);
httpc
->
async_data
->
refs
=
1
;
httpc
->
async_data
->
inet_buffers
.
dwStructSize
=
sizeof
(
INTERNET_BUFFERSW
);
InitializeCriticalSection
(
&
httpc
->
async_data
->
cs
);
InitializeCriticalSection
Ex
(
&
httpc
->
async_data
->
cs
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
httpc
->
async_data
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": RpcHttpAsyncData.cs"
);
return
&
httpc
->
common
;
}
...
...
dlls/rpcrt4/rpcrt4_main.c
View file @
139d6247
...
...
@@ -950,7 +950,7 @@ static struct threaddata *get_or_create_threaddata(void)
tdata
=
calloc
(
1
,
sizeof
(
*
tdata
));
if
(
!
tdata
)
return
NULL
;
InitializeCriticalSection
(
&
tdata
->
cs
);
InitializeCriticalSection
Ex
(
&
tdata
->
cs
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
tdata
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": threaddata.cs"
);
tdata
->
thread_id
=
GetCurrentThreadId
();
...
...
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