LockQueueIoDatabaseLock, 10
(MS WDK >> Windows Driver Kit 10, Version 1607 (WDK 10.0.14393.0))

Name
LockQueueIoDatabaseLock
Value
10 signed int / unsigned int
0x0000000A heximal value
0xA heximal value
Type
Not an error
C/C++ Type
int
Defined at
\Include\10.0.14393.0\km\wdm.h, line 323 (Windows Driver Kit 10, Version 1607 (WDK 10.0.14393.0))
Definition
#define LockQueueIoDatabaseLock 10
Group comments
Define per processor lock queue structure.

N.B. The lock field of the spin lock queue structure contains the address
of the associated kernel spin lock, an owner bit, and a lock bit. Bit
0 of the spin lock address is the wait bit and bit 1 is the owner bit.
The use of this field is such that the bits can be set and cleared
noninterlocked, however, the back pointer must be preserved.

The lock wait bit is set when a processor enqueues itself on the lock
queue and it is not the only entry in the queue. The processor will
spin on this bit waiting for the lock to be granted.

The owner bit is set when the processor owns the respective lock.

The next field of the spin lock queue structure is used to line the
queued lock structures together in fifo order. It also can set set and
cleared noninterlocked.
Also used in
Windows Driver Kit 8.1 (WDK 8.100.26638), Windows Driver Kit 7.1.0 (WDK 7600.16385.1), Windows Driver Kit 7.0.0 (WDK 7600.16385.0), Windows Driver Kit – Server 2008 Release SP1 (WDK 6001.18002), Windows Driver Kit for Windows Vista (WDK 6000), Windows Server 2003 with Service Pack 1 DDK (DDK 3790.1830)