If the app sends an IOCTL from two threads at the same time, MyIoctlHandler will be invoked concurrently on both threads. if MyQueue is a sequential queue, you will only be called for one request at a time
d
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Thursday, August 30, 2012 12:46 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] IRQL changes to 2 upon IOCTL request from user level driver
Dear Members,
When I tried to set SynchronizationScope = WdfSynchronizationScopeNone the IRQL was 0 upon IOCTL code.
According to the documentation:
The framework does not synchronize the object’s event callback functions, so the callback functions might run concurrently on a multiprocessor system
My queue has only one callback function: MyQueue.EvtIoDeviceControl = MyIoctlHandler All other callbacks are null.
In this case, shoud I have a problem using WdfSynchronizationScopeNone ?
Thanks,
Zvika
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer