IntAcquireWinLockShared() was calling ExAcquireResourceExclusiveLite() and

IntAcquireWinLockExclusive() was calling ExAcquireResourceSharedLite(),
switch this.

svn path=/trunk/; revision=6409
This commit is contained in:
Gé van Geldorp 2003-10-22 21:11:34 +00:00
parent 7fc5f298e9
commit 3cfa31a43d

View file

@ -96,12 +96,12 @@ VOID FASTCALL IntRestoreWinLock(WINLOCK_TYPE Type)
inline VOID IntAcquireWinLockShared()
{
ExAcquireResourceExclusiveLite(&WinLock, TRUE /*Wait*/ );
ExAcquireResourceSharedLite(&WinLock, TRUE /*Wait*/ );
}
inline VOID IntAcquireWinLockExclusive()
{
ExAcquireResourceSharedLite(&WinLock, TRUE /*Wait*/ );
ExAcquireResourceExclusiveLite(&WinLock, TRUE /*Wait*/ );
}
inline VOID IntReleaseWinLock()