[ros-dev] Wine I/O Manager for Kernel Services
Gunnar Dalsnes
hardon at online.no
Thu Jan 6 11:42:27 CET 2005
>
>> Can DriverEntry block or must it return immediately ?
>
>
> Immediately.
>
MSDN: "The only driver routines that can safely wait on events,
semaphores, mutexes, or timers are those that run in a nonarbitrary
thread context at IRQL PASSIVE_LEVEL, such as driver-created threads,
the DriverEntry and Reinitialize routines, or dispatch routines for
inherently synchronous I/O operations (such as most device I/O control
requests)."
So you _can_ block in DriverEntry, but i guess most drivers don't.
G.
More information about the Ros-dev
mailing list