• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to define customized notification from kernel-space to user-space
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: How to define customized notification from kernel-space to user-space
      • From: Jeff Moore <email@hidden>
  • Prev by Date: Loop Audio on iPhone
  • Next by Date: Re: How to record input and output sound into one file?
  • Previous by thread: Re: Loop Audio on iPhone
  • Next by thread: Re: How to define customized notification from kernel-space to user-space
  • Index(es):
    • Date
    • Thread