KMDF Tasklet

I have a USB driver that is currently receiving data on a USB interrupt endpoint. A lot of time will be required to process data received. Is there a way that I can differ or schedule a “tasklet” to be executed outside of “interrupt context” to do this processing? I want to avoid having to spend too much time in my interrupt handler.

Thanks,
dd

Schedule a work item (WDFWORKITEM), or if it takes a really long time or essentially endless processing, create your own thread (no KMDF abstraction, see PsCreateThread) and defer the work

d

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Thursday, September 30, 2010 7:16 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] KMDF Tasklet

I have a USB driver that is currently receiving data on a USB interrupt endpoint. A lot of time will be required to process data received. Is there a way that I can differ or schedule a “tasklet” to be executed outside of “interrupt context” to do this processing? I want to avoid having to spend too much time in my interrupt handler.

Thanks,
dd


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