mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
IntAcquireWinLockShared() was calling ExAcquireResourceExclusiveLite() and
IntAcquireWinLockExclusive() was calling ExAcquireResourceSharedLite(), switch this. svn path=/trunk/; revision=6409
This commit is contained in:
parent
7fc5f298e9
commit
3cfa31a43d
1 changed files with 2 additions and 2 deletions
|
@ -96,12 +96,12 @@ VOID FASTCALL IntRestoreWinLock(WINLOCK_TYPE Type)
|
||||||
|
|
||||||
inline VOID IntAcquireWinLockShared()
|
inline VOID IntAcquireWinLockShared()
|
||||||
{
|
{
|
||||||
ExAcquireResourceExclusiveLite(&WinLock, TRUE /*Wait*/ );
|
ExAcquireResourceSharedLite(&WinLock, TRUE /*Wait*/ );
|
||||||
}
|
}
|
||||||
|
|
||||||
inline VOID IntAcquireWinLockExclusive()
|
inline VOID IntAcquireWinLockExclusive()
|
||||||
{
|
{
|
||||||
ExAcquireResourceSharedLite(&WinLock, TRUE /*Wait*/ );
|
ExAcquireResourceExclusiveLite(&WinLock, TRUE /*Wait*/ );
|
||||||
}
|
}
|
||||||
|
|
||||||
inline VOID IntReleaseWinLock()
|
inline VOID IntReleaseWinLock()
|
||||||
|
|
Loading…
Reference in a new issue