Re: Kext Load on demand and daemon communication
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Thread-index: AcgRncVvBBPPwX2REdy1wQAX8si2KA== Thread-topic: Kext Load on demand and daemon communication User-agent: Microsoft-Entourage/11.3.6.070618
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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Eric Long