- Implement a cute little hack called DEFINE_WAIT_BLOCK which makes pushlocks work...
authorAlex Ionescu <aionescu@gmail.com>
Mon, 22 Jan 2007 06:47:44 +0000 (06:47 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Mon, 22 Jan 2007 06:47:44 +0000 (06:47 +0000)
commita0d7a72c1a59859136ea6626f6c74795edee2839
treef083fa480a95631f4a94b6e02c407396f930311a
parent2f75cefc88268ce3444d49eb717ed8d498e547a7
- Implement a cute little hack called DEFINE_WAIT_BLOCK which makes pushlocks work on GCC 3.4.5 as well as 4.1.2+ (with no perf-hit on the latter).
- Implement ExWaitForUnblockPushLock (just a wrapper around ExTimedWaitForUnblockPushLock).
- Simplfy ExBlockPushLock and fix some bugs.
- Fix a bug in ExfReleasePushLockExclusive when we have to wake the lock.
- Fix a bug in ExfUnblockPushLock which was touching the wrong pointer.
- Fix ExWaitOnPushLock to verify that the pushlock is actually locked.

svn path=/trunk/; revision=25584
reactos/ntoskrnl/ex/init.c
reactos/ntoskrnl/ex/pushlock.c
reactos/ntoskrnl/include/internal/ex.h