- Set the right Thread->WaitTime dring waits
authorAlex Ionescu <aionescu@gmail.com>
Fri, 6 Jan 2006 22:57:21 +0000 (22:57 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Fri, 6 Jan 2006 22:57:21 +0000 (22:57 +0000)
commit3a24f9a5050aff12e99bb8639d500431cec1f7af
tree31e743cbeed37d69771d82df6f2940a5ae350349
parent357c1b2aa4d2ec1d4ef44180ad655e2c2c61ec87
- Set the right Thread->WaitTime dring waits
- Initialize WaitBlock->Thread during thread creation.
- Make APCs queuable for the thread after it's created
- Enable Timer Block optimization since it works now. This allows us not to always set-up for each wait, since most of its fields can remain static.
- Properly link wait block together with the waitlist of the timer.

svn path=/trunk/; revision=20632
reactos/ntoskrnl/ke/gate.c
reactos/ntoskrnl/ke/kthread.c
reactos/ntoskrnl/ke/queue.c
reactos/ntoskrnl/ke/wait.c