How to define customized notification from kernel-space to user-space
How to define customized notification from kernel-space to user-space
- Subject: How to define customized notification from kernel-space to user-space
- From: "David Tan" <email@hidden>
- Date: Tue, 10 Feb 2009 18:31:09 +0800
Hi List,
I’m working on an audio driver and want to implement a
customized notification. My audio device will report some status code to my
KEXT during runtime.
After the KEXT has captured a status code, I need a
mechanism to notify the user-space application at real time.
So far, it seems only I can do is to setup a thread in
user-space application and querying the KEXT periodically via IOUserClient. That
I don’t think is the best approach. I wonder if there’s a notification
mechanism to simplify it.
After doing some searching in Apple’s Mailing list, it
seems I can use Mach
Port to achieve it. However,
I cannot find detailed information of this solution. Does anyone here can give
me some tips or advices?
Any ideas will be much appreciated. Thanks a lot!
Sincerely yours,
David Tan
Dextrys Co., Ltd.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden