Author: pschweitzer
Date: Wed Jul 26 19:57:50 2017
New Revision: 75414
URL:
http://svn.reactos.org/svn/reactos?rev=75414&view=rev
Log:
[DDK]
Define RxIsFcbTableLockAcquired
CORE-8204
CORE-11327
CORE-13581
Modified:
trunk/reactos/sdk/include/ddk/fcbtable.h
Modified: trunk/reactos/sdk/include/ddk/fcbtable.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/include/ddk/fcbtable.h…
==============================================================================
--- trunk/reactos/sdk/include/ddk/fcbtable.h [iso-8859-1] (original)
+++ trunk/reactos/sdk/include/ddk/fcbtable.h [iso-8859-1] Wed Jul 26 19:57:50 2017
@@ -57,6 +57,9 @@
#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