A free Windows-compatible Operating System - mirrored from GitHub
Go to file
Alex Ionescu 5ecb728b0e - Fix KiAcquireMutexContended, it was broken in contended cases.
- Inline Acquiring/Leaving guarded regions and the gmutex code, instead of going through 3-4 indirect calls.
- Add a mountain of ASSERTs to detect incorrect usage/state.
- Set ->SpecialApcDisable in the Guarded Mutex.
- Fix broken KTHREAD definition. SpecialApcDisable and KernelApcDisable were incorrectly marked as USHORT instead of SHORT, which could cause severe trouble under optimized builds (At least under MSVC, since MSVC wouldn't allow a negative number in an unsigned short).
- Use GM_LOCK_BIT_V.
- Fix broken KeTryToAcquireGuardedMutex prototype.
- Fix broken KGUARDED_MUTEX typedef and add bit values.
- Fix broken Interlocked* prototypes in regards to volatileness.

svn path=/trunk/; revision=23037
2006-07-13 04:20:18 +00:00
cis Handle access denied scenario 2005-12-13 18:56:49 +00:00
irc Remove all curses except 'semprini'. 2006-06-26 16:39:23 +00:00
msvc6 Initial revision 2004-02-06 08:21:52 +00:00
os2 OS/2: more changes to make it conform to rbuild. 2005-08-12 20:55:07 +00:00
reactos - Fix KiAcquireMutexContended, it was broken in contended cases. 2006-07-13 04:20:18 +00:00
rosapps move back packmgr did move it by mistake 2006-06-20 21:12:15 +00:00
rosky Make the 'rosky' optional module compile. 2005-08-12 13:46:36 +00:00
vms Modify to conform to the new CSR. 2005-10-02 19:31:30 +00:00