mirror of
https://github.com/reactos/reactos.git
synced 2025-01-07 14:51:00 +00:00
ReEnable assert (as Alex suggested)
svn path=/trunk/; revision=26040
This commit is contained in:
parent
22b62d2461
commit
dd635fa115
1 changed files with 4 additions and 4 deletions
|
@ -28,13 +28,13 @@ ExEnterCriticalRegionAndAcquireFastMutexUnsafe(PFAST_MUTEX FastMutex)
|
|||
|
||||
/* Enter the Critical Region */
|
||||
KeEnterCriticalRegion();
|
||||
/*
|
||||
|
||||
ASSERT((KeGetCurrentIrql() == APC_LEVEL) ||
|
||||
(Thread == NULL) ||
|
||||
(Thread->CombinedApcDisable != 0) ||
|
||||
(Thread->Teb == NULL) ||
|
||||
(Thread->Teb >= (PTEB)MM_SYSTEM_RANGE_START));
|
||||
*/
|
||||
|
||||
ASSERT((KeGetCurrentIrql() == APC_LEVEL) ||
|
||||
(Thread == NULL) ||
|
||||
(Thread->CombinedApcDisable != 0));
|
||||
|
@ -59,14 +59,14 @@ VOID
|
|||
FASTCALL
|
||||
ExReleaseFastMutexUnsafeAndLeaveCriticalRegion(PFAST_MUTEX FastMutex)
|
||||
{
|
||||
/*
|
||||
|
||||
ASSERT((KeGetCurrentIrql() == APC_LEVEL) ||
|
||||
(KeGetCurrentThread() == NULL) ||
|
||||
(KeGetCurrentThread()->CombinedApcDisable != 0) ||
|
||||
(KeGetCurrentThread()->Teb == NULL) ||
|
||||
(KeGetCurrentThread()->Teb >= (PTEB)MM_SYSTEM_RANGE_START));
|
||||
|
||||
*/
|
||||
|
||||
ASSERT((KeGetCurrentIrql() == APC_LEVEL) ||
|
||||
(KeGetCurrentThread() == NULL) ||
|
||||
(KeGetCurrentThread()->CombinedApcDisable != 0));
|
||||
|
|
Loading…
Reference in a new issue