A free Windows-compatible Operating System - mirrored from GitHub
Go to file
Alex Ionescu 5e6fa26231 - Optimized the dispatcher lock. It is now gone on non-SMP systems and IRQL is raised or lowered instead.
- Made inlined functions in ke/wait.c macros, because they weren't being inlined.
- Created separate cases for satisfying mutant, non-mutant and generic objects, to optimize wait satisfaction.
- Fixed some places which werne't setting the dispatcher header's size member correctly.
- Fixed formatting in ke/wait.c
- Fixed a case in KiCheckAlertability: we also need to check if the thread is alerted in Kernel-Mode, even if the wait mode given was user and user-mode is not alerted.
- Fixed signaling checks across the wait code and removed KiCheckIfObjectSignaled. We must not consider the mutant as signaled if SignalState is = 1.
- Fix code to check if the wait blocks' status is STATUS_TIMEOUT, because we do not need to check for signal state in that case.
- Removed the exports for internal dispatcher lock routines.


** Thanks to Waxdragon for stress-testing this for an hour :)

svn path=/trunk/; revision=20568
2006-01-05 04:26:55 +00:00
cis Handle access denied scenario 2005-12-13 18:56:49 +00:00
irc reactos.com -> reactos.org 2005-12-14 18:55:57 +00:00
msvc6
os2
posix Begin making the 'posix' module conform to rbuild. 2005-08-13 12:35:00 +00:00
reactos - Optimized the dispatcher lock. It is now gone on non-SMP systems and IRQL is raised or lowered instead. 2006-01-05 04:26:55 +00:00
rosapps fixed gcc4 warnings 2006-01-04 14:26:06 +00:00
rosky
vms Modify to conform to the new CSR. 2005-10-02 19:31:30 +00:00