Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with timer when a USB device is connected



Hi Adarsh,

On Mar 9, 2007, at 1:31 AM, Adarsh wrote:

Hello Group,

We are developing a KEXT for a USB device. Our driver uses a timer with a time interval of 6 ms to do the data processing. The problem is whenever any other USB device is plugged-in, the timer gets delayed.

Why are you using a timer? This isn't usually a good approach on Mac OS X. Mac OS X is not a real-time operating system.

Is this a normal behavior?

Yes.

How can we avoid this delay?

Get rid of the timer.

--gc
____________________________________________________________________
Garth Cummings  email@hidden
Sr. Software Engineer
Apple Developer Technical Support



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden

This email sent to email@hidden

References: 
 >Problem with timer when a USB device is connected (From: Adarsh <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.