• 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
can I easily send messages to the audio thread via Grand Central Dispatch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

can I easily send messages to the audio thread via Grand Central Dispatch


  • Subject: can I easily send messages to the audio thread via Grand Central Dispatch
  • From: Morgan Packard <email@hidden>
  • Date: Thu, 05 Apr 2012 11:05:37 -0400

Hello list,
I recently learned how easy it is to execute code on the main thread from the audio thread using gcd:

            dispatch_async(dispatch_get_main_queue(), ^{

                    // do something

            });

Is the opposite true? Can I easily do stuff on the audio thread from the main thread using gcd?

thanks,

-Morgan


--
===============
Morgan Packard
cell: (720) 891-0122
aim: mpackardatwork

 _______________________________________________
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

  • Prev by Date: Re: AUSampler Bug
  • Next by Date: Performance under Instruments
  • Previous by thread: Re: AUSampler Bug
  • Next by thread: Performance under Instruments
  • Index(es):
    • Date
    • Thread