Hartmut Birr wrote:
Alex Ionescu schrieb:
This introduces hacks into KeWaitXxx (remember != WrQueue?? :P) and also, if you look inside a checked build of NT, you will find ASSERT(Header->Type != QueueObject) inside KeWaitXxx so that really made me unshare the code :)
Can you explain this a little bit more?
In order to share the code, Gunnar had to insert a hack into the wait code not to do some things if the wait mode is WrQueue. By using a dedicated function, the hack can be removed.
Best regards, Alex Ionescu