can I easily send messages to the audio thread via Grand Central Dispatch
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