mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Silent debug messages
svn path=/trunk/; revision=13735
This commit is contained in:
parent
60cb1041df
commit
0218879b00
1 changed files with 5 additions and 4 deletions
|
@ -10,6 +10,7 @@
|
|||
|
||||
/* INCLUDES ******************************************************************/
|
||||
|
||||
#define NDEBUG
|
||||
#include <ntoskrnl.h>
|
||||
#include <internal/debug.h>
|
||||
|
||||
|
@ -27,7 +28,7 @@ IoInitializeRemoveLockEx(
|
|||
IN ULONG HighWatermark,
|
||||
IN ULONG RemlockSize)
|
||||
{
|
||||
DPRINT("IoInitializeRemoveLockEx called");
|
||||
DPRINT("IoInitializeRemoveLockEx called\n");
|
||||
RtlZeroMemory(RemoveLock, RemlockSize);
|
||||
RemoveLock->Common.IoCount = 1;
|
||||
KeInitializeEvent(&RemoveLock->Common.RemoveEvent, NotificationEvent, FALSE);
|
||||
|
@ -45,7 +46,7 @@ IoAcquireRemoveLockEx(
|
|||
IN ULONG Line,
|
||||
IN ULONG RemlockSize)
|
||||
{
|
||||
DPRINT("IoAcquireRemoveLockEx called");
|
||||
DPRINT("IoAcquireRemoveLockEx called\n");
|
||||
InterlockedIncrement(&RemoveLock->Common.IoCount);
|
||||
if (RemoveLock->Common.Removed)
|
||||
{
|
||||
|
@ -70,7 +71,7 @@ IoReleaseRemoveLockEx(
|
|||
{
|
||||
LONG IoCount;
|
||||
|
||||
DPRINT("IoReleaseRemoveLockEx called");
|
||||
DPRINT("IoReleaseRemoveLockEx called\n");
|
||||
IoCount = InterlockedDecrement(&RemoveLock->Common.IoCount);
|
||||
if (IoCount == 0)
|
||||
{
|
||||
|
@ -88,7 +89,7 @@ IoReleaseRemoveLockAndWaitEx(
|
|||
IN PVOID Tag,
|
||||
IN ULONG RemlockSize)
|
||||
{
|
||||
DPRINT("IoReleaseRemoveLockAndWaitEx called");
|
||||
DPRINT("IoReleaseRemoveLockAndWaitEx called\n");
|
||||
RemoveLock->Common.Removed = TRUE;
|
||||
InterlockedDecrement(&RemoveLock->Common.IoCount);
|
||||
IoReleaseRemoveLockEx(RemoveLock, Tag, RemlockSize);
|
||||
|
|
Loading…
Reference in a new issue