|
ReactOS 0.4.17-dev-683-g0dafdc5
|

Go to the source code of this file.
Macros | |
| #define | NDEBUG |
| #define | MAX_STATIC_CS_DEBUG_OBJECTS 64 |
| #define | CRITSECT_HAS_DEBUG_INFO(CriticalSection) |
Variables | |
| static RTL_CRITICAL_SECTION | RtlCriticalSectionLock |
| static LIST_ENTRY | RtlCriticalSectionList = {&RtlCriticalSectionList, &RtlCriticalSectionList} |
| static BOOLEAN | RtlpCritSectInitialized = FALSE |
| static RTL_CRITICAL_SECTION_DEBUG | RtlpStaticDebugInfo [MAX_STATIC_CS_DEBUG_OBJECTS] |
| static BOOLEAN | RtlpDebugInfoFreeList [MAX_STATIC_CS_DEBUG_OBJECTS] |
| LARGE_INTEGER | RtlpTimeout |
| BOOLEAN | RtlpTimeoutDisable |
| BOOLEAN | RtlpCriticalSectionVerifier = FALSE |
| BOOLEAN | LdrpShutdownInProgress |
| HANDLE | LdrpShutdownThreadId |
| #define CRITSECT_HAS_DEBUG_INFO | ( | CriticalSection | ) |
Definition at line 35 of file critical.c.
| #define MAX_STATIC_CS_DEBUG_OBJECTS 64 |
Definition at line 18 of file critical.c.
| #define NDEBUG |
Definition at line 14 of file critical.c.
| _At_ | ( | CriticalSection-> | LockSemaphore, |
| _Post_notnull_ | |||
| ) |
Definition at line 54 of file critical.c.
RtlCheckForOrphanedCriticalSections.
Checks if the given thread owns any critical sections at the time of its exit, and emits a debug message for each orphaned section found.
| [in] | ThreadHandle | Handle to the thread to check. |
Definition at line 879 of file critical.c.
| NTSTATUS NTAPI RtlDeleteCriticalSection | ( | PRTL_CRITICAL_SECTION | CriticalSection | ) |
Definition at line 399 of file critical.c.
| NTSTATUS NTAPI RtlEnterCriticalSection | ( | PRTL_CRITICAL_SECTION | CriticalSection | ) |
Definition at line 489 of file critical.c.
Referenced by RtlCheckForOrphanedCriticalSections(), RtlDeleteCriticalSection(), and RtlInitializeCriticalSectionEx().
| LONG NTAPI RtlGetCriticalSectionRecursionCount | ( | PRTL_CRITICAL_SECTION | CriticalSection | ) |
Definition at line 730 of file critical.c.
| NTSTATUS NTAPI RtlInitializeCriticalSection | ( | PRTL_CRITICAL_SECTION | CriticalSection | ) |
Definition at line 548 of file critical.c.
Referenced by RtlpInitDeferredCriticalSection().
| NTSTATUS NTAPI RtlInitializeCriticalSectionAndSpinCount | ( | _Out_ PRTL_CRITICAL_SECTION | CriticalSection, |
| _In_ ULONG | SpinCount | ||
| ) |
Definition at line 703 of file critical.c.
Referenced by RtlInitializeCriticalSection().
| NTSTATUS NTAPI RtlInitializeCriticalSectionEx | ( | _Out_ PRTL_CRITICAL_SECTION | CriticalSection, |
| _In_ ULONG | SpinCount, | ||
| _In_ ULONG | Flags | ||
| ) |
Definition at line 576 of file critical.c.
Referenced by RtlInitializeCriticalSectionAndSpinCount().
| LOGICAL NTAPI RtlIsCriticalSectionLocked | ( | PRTL_CRITICAL_SECTION | CriticalSection | ) |
Definition at line 961 of file critical.c.
| LOGICAL NTAPI RtlIsCriticalSectionLockedByThread | ( | PRTL_CRITICAL_SECTION | CriticalSection | ) |
Definition at line 968 of file critical.c.
| NTSTATUS NTAPI RtlLeaveCriticalSection | ( | PRTL_CRITICAL_SECTION | CriticalSection | ) |
Definition at line 768 of file critical.c.
Referenced by RtlCheckForOrphanedCriticalSections(), RtlDeleteCriticalSection(), and RtlInitializeCriticalSectionEx().
| PRTL_CRITICAL_SECTION_DEBUG NTAPI RtlpAllocateDebugInfo | ( | VOID | ) |
Definition at line 301 of file critical.c.
Referenced by RtlInitializeCriticalSectionEx().
| VOID NTAPI RtlpFreeDebugInfo | ( | PRTL_CRITICAL_SECTION_DEBUG | DebugInfo | ) |
Definition at line 344 of file critical.c.
Referenced by RtlDeleteCriticalSection().
Definition at line 274 of file critical.c.
Referenced by LdrpInitializeProcess().
| VOID NTAPI RtlpNotOwnerCriticalSection | ( | PRTL_CRITICAL_SECTION | CriticalSection | ) |
Definition at line 976 of file critical.c.
| VOID NTAPI RtlpUnWaitCriticalSection | ( | PRTL_CRITICAL_SECTION | CriticalSection | ) |
Definition at line 219 of file critical.c.
Referenced by RtlLeaveCriticalSection().
| NTSTATUS NTAPI RtlpWaitForCriticalSection | ( | PRTL_CRITICAL_SECTION | CriticalSection | ) |
Definition at line 119 of file critical.c.
Referenced by RtlEnterCriticalSection().
| ULONG NTAPI RtlSetCriticalSectionSpinCount | ( | PRTL_CRITICAL_SECTION | CriticalSection, |
| ULONG | SpinCount | ||
| ) |
Definition at line 461 of file critical.c.
| LOGICAL NTAPI RtlTryEnterCriticalSection | ( | PRTL_CRITICAL_SECTION | CriticalSection | ) |
Definition at line 838 of file critical.c.
|
extern |
Definition at line 34 of file ldrinit.c.
Referenced by LdrpInitializeThread(), LdrShutdownProcess(), LdrShutdownThread(), and RtlpWaitForCriticalSection().
|
extern |
Definition at line 35 of file ldrinit.c.
Referenced by LdrShutdownProcess(), and RtlpWaitForCriticalSection().
|
static |
Definition at line 21 of file critical.c.
Referenced by RtlCheckForOrphanedCriticalSections(), and RtlInitializeCriticalSectionEx().
|
static |
Definition at line 20 of file critical.c.
Referenced by RtlCheckForOrphanedCriticalSections(), RtlDeleteCriticalSection(), RtlInitializeCriticalSectionEx(), and RtlpInitDeferredCriticalSection().
Definition at line 28 of file critical.c.
Referenced by RtlCheckForOrphanedCriticalSections().
Definition at line 22 of file critical.c.
Referenced by RtlInitializeCriticalSectionEx(), and RtlpInitDeferredCriticalSection().
|
static |
Definition at line 24 of file critical.c.
Referenced by RtlpAllocateDebugInfo(), and RtlpFreeDebugInfo().
|
static |
Definition at line 23 of file critical.c.
Referenced by RtlpAllocateDebugInfo(), and RtlpFreeDebugInfo().
| LARGE_INTEGER RtlpTimeout |
Definition at line 26 of file critical.c.
Referenced by LdrpInitializeProcess(), RtlpUnWaitCriticalSection(), and RtlpWaitForCriticalSection().
| BOOLEAN RtlpTimeoutDisable |
Definition at line 27 of file critical.c.
Referenced by LdrpInitializeProcess(), and RtlpWaitForCriticalSection().