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: Kext Load on demand and daemon communication



>> I looked at IOServiceAddMatchingNotification(). That seems pretty
>> straight-forward.  What I'm not clear on is what stage my driver
>> will be in
>> when I get a notice in my callback.
> 
> The notification will be posted as a consequence of your driver
> calling registerService().
> 

Right.

But does that mean my daemon will receive that notice before the driver
exits registerToService()?

If my daemon connects to the kext, sends config data, and begins listening
for messages from the kext, all from within the notification callback before
returning, can I count on my driver's validateNewMedia() method not being
called until after I return from the callback, in the normal sequence of
events?


Eric


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

This email sent to email@hidden

References: 
 >Re: Kext Load on demand and daemon communication (From: Michael Smith <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.