A free Windows-compatible Operating System - mirrored from GitHub
Find a file
Alex Ionescu 1d5f17dc97 - Add IN/OUT annotations for KeWaitForSIngleObject
- Set the wait block outside the loop, small optimization in case we get alerted by an APC and have to loop again.
- Set the wait block pointer in the KTHREAD structure only *after* checking if a wait is actually needed. That way, if the object is already signaled, we don't set anything in the WaitBlockList.
- Small optimization: only set the caller's WAitBlock as the next wait block if a timer wasn't specificed, else we ended up overwriting the value.
- Small optimziation: don't write the thread in the wait block, this is a wait for a signle object so this isn't needed.

svn path=/trunk/; revision=23063
2006-07-14 21:45:27 +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
os2
reactos - Add IN/OUT annotations for KeWaitForSIngleObject 2006-07-14 21:45:27 +00:00
rosapps 1. Remove guithreadinfo from the make file. for it not longer builds. 2006-07-13 19:00:05 +00:00
rosky
vms