Author: tfaber
Date: Sun Sep 27 17:40:23 2015
New Revision: 69383
URL:
http://svn.reactos.org/svn/reactos?rev=69383&view=rev
Log:
[NTOS:EX]
- Remove push lock asserts that are prone to race conditions
CORE-10267 #resolve
Modified:
trunk/reactos/ntoskrnl/include/internal/ex.h
Modified: trunk/reactos/ntoskrnl/include/internal/ex.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/internal/…
==============================================================================
--- trunk/reactos/ntoskrnl/include/internal/ex.h [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/include/internal/ex.h [iso-8859-1] Sun Sep 27 17:40:23 2015
@@ -1032,7 +1032,6 @@
/* Sanity checks */
ASSERT(PushLock->Locked);
- ASSERT(PushLock->Waiting || PushLock->Shared > 0);
}
/*++
@@ -1133,7 +1132,6 @@
/* Sanity checks */
ASSERT(PushLock->Locked);
- ASSERT(PushLock->Waiting || PushLock->Shared > 0);
/* Try to clear the pushlock */
OldValue.Value = EX_PUSH_LOCK_LOCK | EX_PUSH_LOCK_SHARE_INC;
@@ -1173,7 +1171,6 @@
/* Sanity checks */
ASSERT(PushLock->Locked);
- ASSERT(PushLock->Waiting || PushLock->Shared == 0);
/* Unlock the pushlock */
OldValue.Value = InterlockedExchangeAddSizeT((PSIZE_T)PushLock,