Re: Can a kext talk to an application ?
Re: Can a kext talk to an application ?
- Subject: Re: Can a kext talk to an application ?
- From: Godfrey van der Linden <email@hidden>
- Date: Thu, 13 Jun 2002 11:45:11 -0700
At 11:13 -0700 02-6-13, email@hidden wrote:
On Wed, 12 June 2002, email@hidden wrote
Apple in SimpleUserClient show how to make connections from an
application to a kext.
But how to do the opposite: sending message from kext to an application ?
How to tell the application to do something ?
I could not find a way to make this type of notification work, so
instead I used a sysctl with
polling from the application. The kernel programming doc explains
sysctl well enough to get started,
though there were a couple of errors that hopefully have been
corrected by now.
I recommend using the UserClient for a blocking work availaible style
API. In general mixing BSD and IOKit can lead to vast complications
with locking. Specifically funnels vs IOWorkLoops.
Godfrey
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.