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
6b636e3e
Commit
6b636e3e
authored
Jun 25, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Jun 25, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use RTL_CRITICAL_SECTION instead of CRITICAL_SECTION.
parent
4378e773
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
22 additions
and
24 deletions
+22
-24
cdrom.c
dlls/ntdll/cdrom.c
+3
-3
directory.c
dlls/ntdll/directory.c
+3
-3
exception.c
dlls/ntdll/exception.c
+3
-3
heap.c
dlls/ntdll/heap.c
+1
-1
loader.c
dlls/ntdll/loader.c
+3
-3
ntdll_misc.h
dlls/ntdll/ntdll_misc.h
+0
-2
rtl.c
dlls/ntdll/rtl.c
+3
-3
time.c
dlls/ntdll/time.c
+3
-3
virtual.c
dlls/ntdll/virtual.c
+3
-3
No files found.
dlls/ntdll/cdrom.c
View file @
6b636e3e
...
...
@@ -363,14 +363,14 @@ struct cdrom_cache {
#define MAX_CACHE_ENTRIES 5
static
struct
cdrom_cache
cdrom_cache
[
MAX_CACHE_ENTRIES
];
static
CRITICAL_SECTION
cache_section
;
static
CRITICAL_SECTION_DEBUG
critsect_debug
=
static
RTL_
CRITICAL_SECTION
cache_section
;
static
RTL_
CRITICAL_SECTION_DEBUG
critsect_debug
=
{
0
,
0
,
&
cache_section
,
{
&
critsect_debug
.
ProcessLocksList
,
&
critsect_debug
.
ProcessLocksList
},
0
,
0
,
{
0
,
(
DWORD
)(
__FILE__
": cache_section"
)
}
};
static
CRITICAL_SECTION
cache_section
=
{
&
critsect_debug
,
-
1
,
0
,
0
,
0
,
0
};
static
RTL_
CRITICAL_SECTION
cache_section
=
{
&
critsect_debug
,
-
1
,
0
,
0
,
0
,
0
};
/* Proposed media change function: not really needed at this time */
/* This is a 1 or 0 type of function */
...
...
dlls/ntdll/directory.c
View file @
6b636e3e
...
...
@@ -135,14 +135,14 @@ static int show_dot_files;
/* at some point we may want to allow Winelib apps to set this */
static
const
int
is_case_sensitive
=
FALSE
;
static
CRITICAL_SECTION
dir_section
;
static
CRITICAL_SECTION_DEBUG
critsect_debug
=
static
RTL_
CRITICAL_SECTION
dir_section
;
static
RTL_
CRITICAL_SECTION_DEBUG
critsect_debug
=
{
0
,
0
,
&
dir_section
,
{
&
critsect_debug
.
ProcessLocksList
,
&
critsect_debug
.
ProcessLocksList
},
0
,
0
,
{
0
,
(
DWORD
)(
__FILE__
": dir_section"
)
}
};
static
CRITICAL_SECTION
dir_section
=
{
&
critsect_debug
,
-
1
,
0
,
0
,
0
,
0
};
static
RTL_
CRITICAL_SECTION
dir_section
=
{
&
critsect_debug
,
-
1
,
0
,
0
,
0
,
0
};
/* check if a given Unicode char is OK in a DOS short name */
...
...
dlls/ntdll/exception.c
View file @
6b636e3e
...
...
@@ -53,14 +53,14 @@ typedef struct
static
struct
list
vectored_handlers
=
LIST_INIT
(
vectored_handlers
);
static
CRITICAL_SECTION
vectored_handlers_section
;
static
CRITICAL_SECTION_DEBUG
critsect_debug
=
static
RTL_
CRITICAL_SECTION
vectored_handlers_section
;
static
RTL_
CRITICAL_SECTION_DEBUG
critsect_debug
=
{
0
,
0
,
&
vectored_handlers_section
,
{
&
critsect_debug
.
ProcessLocksList
,
&
critsect_debug
.
ProcessLocksList
},
0
,
0
,
{
0
,
(
DWORD
)(
__FILE__
": vectored_handlers_section"
)
}
};
static
CRITICAL_SECTION
vectored_handlers_section
=
{
&
critsect_debug
,
-
1
,
0
,
0
,
0
,
0
};
static
RTL_
CRITICAL_SECTION
vectored_handlers_section
=
{
&
critsect_debug
,
-
1
,
0
,
0
,
0
,
0
};
#ifdef __i386__
# define GET_IP(context) ((LPVOID)(context)->Eip)
...
...
dlls/ntdll/heap.c
View file @
6b636e3e
...
...
@@ -109,7 +109,7 @@ typedef struct tagHEAP
{
SUBHEAP
subheap
;
/* First sub-heap */
struct
tagHEAP
*
next
;
/* Next heap for this process */
CRITICAL_SECTION
critSection
;
/* Critical section for serialization */
RTL_CRITICAL_SECTION
critSection
;
/* Critical section for serialization */
FREE_LIST_ENTRY
freeList
[
HEAP_NB_FREE_LISTS
];
/* Free lists */
DWORD
flags
;
/* Heap flags */
DWORD
magic
;
/* Magic number */
...
...
dlls/ntdll/loader.c
View file @
6b636e3e
...
...
@@ -96,14 +96,14 @@ static const IMAGE_TLS_DIRECTORY **tls_dirs; /* array of TLS directories */
UNICODE_STRING
system_dir
=
{
0
,
0
,
NULL
};
/* system directory */
static
CRITICAL_SECTION
loader_section
;
static
CRITICAL_SECTION_DEBUG
critsect_debug
=
static
RTL_
CRITICAL_SECTION
loader_section
;
static
RTL_
CRITICAL_SECTION_DEBUG
critsect_debug
=
{
0
,
0
,
&
loader_section
,
{
&
critsect_debug
.
ProcessLocksList
,
&
critsect_debug
.
ProcessLocksList
},
0
,
0
,
{
0
,
(
DWORD
)(
__FILE__
": loader_section"
)
}
};
static
CRITICAL_SECTION
loader_section
=
{
&
critsect_debug
,
-
1
,
0
,
0
,
0
,
0
};
static
RTL_
CRITICAL_SECTION
loader_section
=
{
&
critsect_debug
,
-
1
,
0
,
0
,
0
,
0
};
static
WINE_MODREF
*
cached_modref
;
static
WINE_MODREF
*
current_modref
;
...
...
dlls/ntdll/ntdll_misc.h
View file @
6b636e3e
...
...
@@ -22,9 +22,7 @@
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "winnt.h"
#include "winreg.h"
#include "ntstatus.h"
#include "winternl.h"
#include "wine/server.h"
...
...
dlls/ntdll/rtl.c
View file @
6b636e3e
...
...
@@ -37,14 +37,14 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
ntdll
);
static
CRITICAL_SECTION
peb_lock
;
static
CRITICAL_SECTION_DEBUG
critsect_debug
=
static
RTL_
CRITICAL_SECTION
peb_lock
;
static
RTL_
CRITICAL_SECTION_DEBUG
critsect_debug
=
{
0
,
0
,
&
peb_lock
,
{
&
critsect_debug
.
ProcessLocksList
,
&
critsect_debug
.
ProcessLocksList
},
0
,
0
,
{
0
,
(
DWORD
)(
__FILE__
": peb_lock"
)
}
};
static
CRITICAL_SECTION
peb_lock
=
{
&
critsect_debug
,
-
1
,
0
,
0
,
0
,
0
};
static
RTL_
CRITICAL_SECTION
peb_lock
=
{
&
critsect_debug
,
-
1
,
0
,
0
,
0
,
0
};
/* CRC polynomial 0xedb88320 */
static
const
DWORD
CRC_table
[
256
]
=
...
...
dlls/ntdll/time.c
View file @
6b636e3e
...
...
@@ -47,14 +47,14 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
ntdll
);
static
CRITICAL_SECTION
TIME_GetBias_section
;
static
CRITICAL_SECTION_DEBUG
critsect_debug
=
static
RTL_
CRITICAL_SECTION
TIME_GetBias_section
;
static
RTL_
CRITICAL_SECTION_DEBUG
critsect_debug
=
{
0
,
0
,
&
TIME_GetBias_section
,
{
&
critsect_debug
.
ProcessLocksList
,
&
critsect_debug
.
ProcessLocksList
},
0
,
0
,
{
0
,
(
DWORD
)(
__FILE__
": TIME_GetBias_section"
)
}
};
static
CRITICAL_SECTION
TIME_GetBias_section
=
{
&
critsect_debug
,
-
1
,
0
,
0
,
0
,
0
};
static
RTL_
CRITICAL_SECTION
TIME_GetBias_section
=
{
&
critsect_debug
,
-
1
,
0
,
0
,
0
,
0
};
/* TimeZone registry key values */
static
const
WCHAR
TZInformationKeyW
[]
=
{
'M'
,
'a'
,
'c'
,
'h'
,
'i'
,
'n'
,
'e'
,
'\\'
,
...
...
dlls/ntdll/virtual.c
View file @
6b636e3e
...
...
@@ -101,14 +101,14 @@ static const BYTE VIRTUAL_Win32Flags[16] =
static
struct
list
views_list
=
LIST_INIT
(
views_list
);
static
CRITICAL_SECTION
csVirtual
;
static
CRITICAL_SECTION_DEBUG
critsect_debug
=
static
RTL_
CRITICAL_SECTION
csVirtual
;
static
RTL_
CRITICAL_SECTION_DEBUG
critsect_debug
=
{
0
,
0
,
&
csVirtual
,
{
&
critsect_debug
.
ProcessLocksList
,
&
critsect_debug
.
ProcessLocksList
},
0
,
0
,
{
0
,
(
DWORD
)(
__FILE__
": csVirtual"
)
}
};
static
CRITICAL_SECTION
csVirtual
=
{
&
critsect_debug
,
-
1
,
0
,
0
,
0
,
0
};
static
RTL_
CRITICAL_SECTION
csVirtual
=
{
&
critsect_debug
,
-
1
,
0
,
0
,
0
,
0
};
#ifdef __i386__
/* These are always the same on an i386, and it will be faster this way */
...
...
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