ion(a)svn.reactos.com wrote:
Dispatching & Queue Rewrite II:
- Rewrote wait code. It is now cleaner, more optimized and faster. All waiting
functions are now clearly differentiated instead of sharing code.
Imo, sharing the wait code is cleaner... (I remember the time i merged
the old wait code into one routine, heh)
These functions
are called up to a dozen times a second, so
having dedicated code for each of
them is a real boost in speed.
- Fixed several queue issues, made a dedicated queue wait/wake function (you are not
supposed to use KeWaitFor on a queue,
I used KeWaitXxx in the queue impl. because i thought it was good to
have the wait code in one place only. Thou others find speed more
important:-D