Define RxIsFcbTableLockAcquired

CORE-8204
CORE-11327
CORE-13581

svn path=/trunk/; revision=75414
This commit is contained in:
Pierre Schweitzer 2017-07-26 19:57:50 +00:00
parent 2d5ebe0ac1
commit bf93adc414

View file

@ -57,6 +57,9 @@ RxFcbTableRemoveFcb(
#define RxIsFcbTableLockExclusive(T) ExIsResourceAcquiredExclusiveLite(&(T)->TableLock)
#define RxIsFcbTableLockAcquired(T) (ExIsResourceAcquiredSharedLite(&(T)->TableLock) || \
ExIsResourceAcquiredExclusiveLite(&(T)->TableLock))
#ifdef __REACTOS__
#define FCB_HASH_BUCKET(T, H) &(T)->HashBuckets[H % (T)->NumberOfBuckets]
#endif