mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:45:50 +00:00
A free Windows-compatible Operating System - mirrored from GitHub
![]() - 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 |
||
---|---|---|
cis | ||
irc | ||
msvc6 | ||
os2 | ||
reactos | ||
rosapps | ||
rosky | ||
vms |