- Fix InterlockedBitTestAndReset and InterlockedBitTestAndSet
authorAlex Ionescu <aionescu@gmail.com>
Thu, 29 Dec 2005 19:54:42 +0000 (19:54 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Thu, 29 Dec 2005 19:54:42 +0000 (19:54 +0000)
commit3785fc8f828f1ef0070dbf0bcb6d788d1a7bf203
tree0ec49f5f76f50b38a3b6197ce0c8e6a7d997617e
parentea4fcb61887beb055cd30d6c7e8561ad960f73d3
- Fix InterlockedBitTestAndReset and InterlockedBitTestAndSet
- Implement YieldProcessor
- Fix formatting in spinlock.c
- KiAcquireSpinlock and KiReleaseSpinLock should be no-op functions on uniprocessor machines.
- KiReleaseSpinLock does not need interlocked access to release the lock.
- Use portable code for KiAcquireSpinLock. Also use interlocked bit operations since they are faster.

svn path=/trunk/; revision=20436
reactos/ntoskrnl/ke/spinlock.c
reactos/w32api/include/winnt.h