ReactOS 0.4.16-dev-297-gc569aee
|
Go to the source code of this file.
Classes | |
struct | _THREAD_STRUCT |
struct | _THREAD_REC_BLOCK |
Typedefs | |
typedef struct _THREAD_STRUCT | THREAD_STRUCT |
typedef struct _THREAD_STRUCT * | PTHREAD_STRUCT |
typedef struct _THREAD_REC_BLOCK | THREAD_REC_BLOCK |
typedef struct _THREAD_REC_BLOCK * | PTHREAD_REC_BLOCK |
Functions | |
VOID | DLDInit (ULONG MaxThrdCount) |
Initialize deadlock detector. | |
VOID | DLDAcquireExclusive (PERESOURCE Resource, ULONG BugCheckId, ULONG Line) |
VOID | DLDAcquireShared (PERESOURCE Resource, ULONG BugCheckId, ULONG Line, BOOLEAN WaitForExclusive) |
VOID | DLDAcquireSharedStarveExclusive (PERESOURCE Resource, ULONG BugCheckId, ULONG Line) |
VOID | DLDUnblock (PERESOURCE Resource) |
VOID | DLDFree (VOID) |
#define DLDAllocatePool | ( | size | ) | MyAllocatePool__(NonPagedPool,size) |
Definition at line 25 of file dldetect.h.
#define DLDFreePool | ( | addr | ) | MyFreePool__((addr)) |
Definition at line 26 of file dldetect.h.
#define DLDGetCurrentResourceThread | ( | ) | ((ERESOURCE_THREAD)PsGetCurrentThread()) |
Definition at line 28 of file dldetect.h.
#define ResourceDisableBoost 0x08 |
Definition at line 34 of file dldetect.h.
#define ResourceOwnedExclusive 0x80 |
Definition at line 32 of file dldetect.h.
typedef struct _THREAD_REC_BLOCK * PTHREAD_REC_BLOCK |
typedef struct _THREAD_STRUCT * PTHREAD_STRUCT |
typedef struct _THREAD_REC_BLOCK THREAD_REC_BLOCK |
typedef struct _THREAD_STRUCT THREAD_STRUCT |
VOID DLDAcquireExclusive | ( | PERESOURCE | Resource, |
ULONG | BugCheckId, | ||
ULONG | Line | ||
) |
Definition at line 313 of file dldetect.cpp.
Referenced by DLDpAcquireResourceExclusiveLite().
VOID DLDAcquireShared | ( | PERESOURCE | Resource, |
ULONG | BugCheckId, | ||
ULONG | Line, | ||
BOOLEAN | WaitForExclusive | ||
) |
Definition at line 398 of file dldetect.cpp.
VOID DLDAcquireSharedStarveExclusive | ( | PERESOURCE | Resource, |
ULONG | BugCheckId, | ||
ULONG | Line | ||
) |
Initialize deadlock detector.
MaxThrdCount | Maximum supported number of threads |
Definition at line 51 of file dldetect.cpp.
Referenced by DriverEntry().
VOID DLDUnblock | ( | PERESOURCE | Resource | ) |