Save the old irql in ExTryToAcquireFastMutex.
Modified: trunk/reactos/hal/halx86/generic/fmutex.c
Modified: trunk/reactos/ntoskrnl/ex/fmutex.c
_____
Modified: trunk/reactos/hal/halx86/generic/fmutex.c
--- trunk/reactos/hal/halx86/generic/fmutex.c 2005-11-26 16:04:33 UTC
(rev 19639)
+++ trunk/reactos/hal/halx86/generic/fmutex.c 2005-11-26 16:08:27 UTC
(rev 19640)
@@ -84,6 +84,7 @@
{
/* We have, set us as owners */
FastMutex->Owner = KeGetCurrentThread();
+ FastMutex->OldIrql = OldIrql;
return TRUE;
}
else
_____
Modified: trunk/reactos/ntoskrnl/ex/fmutex.c
--- trunk/reactos/ntoskrnl/ex/fmutex.c 2005-11-26 16:04:33 UTC (rev
19639)
+++ trunk/reactos/ntoskrnl/ex/fmutex.c 2005-11-26 16:08:27 UTC (rev
19640)
@@ -191,6 +191,7 @@
{
/* We have, set us as owners */
FastMutex->Owner = KeGetCurrentThread();
+ FastMutex->OldIrql = OldIrql;
return TRUE;
}
else
Show replies by date