Delay Caused By Software Interrupt
Delay Caused By Software Interrupt
- Subject: Delay Caused By Software Interrupt
- From: "Satyam Lad" <email@hidden>
- Date: Mon, 8 Jan 2007 21:35:20 +0530
Hi All,
I am writing a driver for a device that does not generates interrupts. My base class is IOUSBController, at some point i need to fire the Complete routine ("Complete(IOUSBCompletion ,IOReturn , 0)") of this class. I am using a Software Interrupt to fire this completion, which introduces a delay of 30 msec. Is there any better way to fire the complete routine.
Does Software Interrupts introduces delays?
My Interrupt Source is attached to the IOUSBControllers workloop, on which i fire the Software Interrupt. Will this create a problem ? Or Introduce unnecessary delay?
If i do not call this Complete() routine in a IOUSBControllers workloop thread (context), i do not get any further requests from the IOUSBController? What may the reason?
Regards,
Satyam Lad.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden