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
131918e4
Commit
131918e4
authored
Feb 26, 2024
by
Paul Gofman
Committed by
Alexandre Julliard
Feb 26, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
itss: Force debug info in critical sections.
parent
f4a3f573
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
chm_lib.c
dlls/itss/chm_lib.c
+6
-6
No files found.
dlls/itss/chm_lib.c
View file @
131918e4
...
...
@@ -686,11 +686,11 @@ struct chmFile *chm_openW(const WCHAR *filename)
}
/* initialize mutexes, if needed */
InitializeCriticalSection
(
&
newHandle
->
mutex
);
InitializeCriticalSection
Ex
(
&
newHandle
->
mutex
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
newHandle
->
mutex
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": chmFile.mutex"
);
InitializeCriticalSection
(
&
newHandle
->
lzx_mutex
);
InitializeCriticalSection
Ex
(
&
newHandle
->
lzx_mutex
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
newHandle
->
lzx_mutex
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": chmFile.lzx_mutex"
);
InitializeCriticalSection
(
&
newHandle
->
cache_mutex
);
InitializeCriticalSection
Ex
(
&
newHandle
->
cache_mutex
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
newHandle
->
cache_mutex
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": chmFile.cache_mutex"
);
/* read and verify header */
...
...
@@ -817,11 +817,11 @@ struct chmFile *chm_dup(struct chmFile *oldHandle)
newHandle
->
cache_num_blocks
=
0
;
/* initialize mutexes, if needed */
InitializeCriticalSection
(
&
newHandle
->
mutex
);
InitializeCriticalSection
Ex
(
&
newHandle
->
mutex
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
newHandle
->
mutex
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": chmFile.mutex"
);
InitializeCriticalSection
(
&
newHandle
->
lzx_mutex
);
InitializeCriticalSection
Ex
(
&
newHandle
->
lzx_mutex
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
newHandle
->
lzx_mutex
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": chmFile.lzx_mutex"
);
InitializeCriticalSection
(
&
newHandle
->
cache_mutex
);
InitializeCriticalSection
Ex
(
&
newHandle
->
cache_mutex
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
newHandle
->
cache_mutex
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": chmFile.cache_mutex"
);
/* initialize cache */
...
...
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