• 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
Re: best way to divert callbacks to main thread from audio thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: best way to divert callbacks to main thread from audio thread


  • Subject: Re: best way to divert callbacks to main thread from audio thread
  • From: Kyle Sluder <email@hidden>
  • Date: Mon, 03 Oct 2011 11:08:52 -0700

On Mon, Oct 3, 2011 at 10:24 AM, Paul Davis <email@hidden> wrote:
> On Mon, Oct 3, 2011 at 1:19 PM, Kyle Sluder <email@hidden> wrote:
>> On Mon, Oct 3, 2011 at 7:42 AM, Paul Davis <email@hidden> wrote:
>>> the fastest is to post a mach message to a mach port. since i know
>>> libpd is open source, i suggest you take a look at the jack sources if
>>> you want some examples on how to do this. its pretty easy.
>>
>> Mach is SPI and inaccessible on iOS.
>
> SPI ?
>

System Programming Interface. One of those Apple terms for "the layers
of the cake you're not allowed to touch." Although the actual
definition seems to be kind of nebulous.

I should mention the caveat that my information is second-hand. Our
engineering lead has mentioned that we've received complaints from
Apple about our use of Mach ports in the past.

The iOS SDK contains the Mach headers and all the relevant symbols,
but that doesn't say anything about whether app review will reject
your app for making Mach calls.

FWIW, calling current_task() doesn't crash my app immediately. Perhaps
I'm wrong about the strictness of Apple's policy on Mach usage.

--Kyle Sluder
 _______________________________________________
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: best way to divert callbacks to main thread from audio thread
      • From: Jean-Daniel Dupas <email@hidden>
References: 
 >best way to divert callbacks to main thread from audio thread (From: Rich E <email@hidden>)
 >Re: best way to divert callbacks to main thread from audio thread (From: Paul Davis <email@hidden>)
 >Re: best way to divert callbacks to main thread from audio thread (From: Kyle Sluder <email@hidden>)
 >Re: best way to divert callbacks to main thread from audio thread (From: Paul Davis <email@hidden>)

  • Prev by Date: Re: best way to divert callbacks to main thread from audio thread
  • Next by Date: Re: best way to divert callbacks to main thread from audio thread
  • Previous by thread: Re: best way to divert callbacks to main thread from audio thread
  • Next by thread: Re: best way to divert callbacks to main thread from audio thread
  • Index(es):
    • Date
    • Thread