Hello all,
>From the link:
http://www.microsoft.com/whdc/driver/tips/km-basics.mspx#EAAA
under "Getting your driver to handle more than one I/O request at a
time"
Second paragraph:
"Even if your application uses multiple threads, only one
request at a time (per file handle) will get through."
I am doubtful about the "per file handle" part.
I tried the following thing:
>From 2 threads (in an application) i opened the device (created
in a simple driver) using CreateFile (and verified that the
handles are different). One thread called ReadFile in a
loop and the other one called WriteFile in a loop.
But i noticed that driver is handling the request 1
at a time.
So even though the handles are different the calls are serialized.
So what does the "per file handle" mean ?
...Mani