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
373fcd00
Commit
373fcd00
authored
Mar 10, 2007
by
Jan Zerebecki
Committed by
Alexandre Julliard
Mar 12, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
itss: Add DebugInfo to critical sections.
parent
f7c4b257
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
chm_lib.c
dlls/itss/chm_lib.c
+6
-0
No files found.
dlls/itss/chm_lib.c
View file @
373fcd00
...
@@ -705,8 +705,11 @@ struct chmFile *chm_openW(const WCHAR *filename)
...
@@ -705,8 +705,11 @@ struct chmFile *chm_openW(const WCHAR *filename)
/* initialize mutexes, if needed */
/* initialize mutexes, if needed */
InitializeCriticalSection
(
&
newHandle
->
mutex
);
InitializeCriticalSection
(
&
newHandle
->
mutex
);
newHandle
->
mutex
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": chmFile.mutex"
);
InitializeCriticalSection
(
&
newHandle
->
lzx_mutex
);
InitializeCriticalSection
(
&
newHandle
->
lzx_mutex
);
newHandle
->
lzx_mutex
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": chmFile.lzx_mutex"
);
InitializeCriticalSection
(
&
newHandle
->
cache_mutex
);
InitializeCriticalSection
(
&
newHandle
->
cache_mutex
);
newHandle
->
cache_mutex
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": chmFile.cache_mutex"
);
/* read and verify header */
/* read and verify header */
sremain
=
_CHM_ITSF_V3_LEN
;
sremain
=
_CHM_ITSF_V3_LEN
;
...
@@ -826,8 +829,11 @@ void chm_close(struct chmFile *h)
...
@@ -826,8 +829,11 @@ void chm_close(struct chmFile *h)
CHM_CLOSE_FILE
(
h
->
fd
);
CHM_CLOSE_FILE
(
h
->
fd
);
h
->
fd
=
CHM_NULL_FD
;
h
->
fd
=
CHM_NULL_FD
;
h
->
mutex
.
DebugInfo
->
Spare
[
0
]
=
0
;
DeleteCriticalSection
(
&
h
->
mutex
);
DeleteCriticalSection
(
&
h
->
mutex
);
h
->
lzx_mutex
.
DebugInfo
->
Spare
[
0
]
=
0
;
DeleteCriticalSection
(
&
h
->
lzx_mutex
);
DeleteCriticalSection
(
&
h
->
lzx_mutex
);
h
->
cache_mutex
.
DebugInfo
->
Spare
[
0
]
=
0
;
DeleteCriticalSection
(
&
h
->
cache_mutex
);
DeleteCriticalSection
(
&
h
->
cache_mutex
);
if
(
h
->
lzx_state
)
if
(
h
->
lzx_state
)
...
...
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