mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:35:47 +00:00
Save the old irql in ExTryToAcquireFastMutex.
svn path=/trunk/; revision=19640
This commit is contained in:
parent
b5831e218d
commit
6a8246e478
2 changed files with 2 additions and 0 deletions
|
@ -84,6 +84,7 @@ ExTryToAcquireFastMutex(PFAST_MUTEX FastMutex)
|
|||
{
|
||||
/* We have, set us as owners */
|
||||
FastMutex->Owner = KeGetCurrentThread();
|
||||
FastMutex->OldIrql = OldIrql;
|
||||
return TRUE;
|
||||
}
|
||||
else
|
||||
|
|
|
@ -191,6 +191,7 @@ ExTryToAcquireFastMutex(PFAST_MUTEX FastMutex)
|
|||
{
|
||||
/* We have, set us as owners */
|
||||
FastMutex->Owner = KeGetCurrentThread();
|
||||
FastMutex->OldIrql = OldIrql;
|
||||
return TRUE;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue