Re: scheduling a block from a render callback
Re: scheduling a block from a render callback
- Subject: Re: scheduling a block from a render callback
- From: Doug Wyatt <email@hidden>
- Date: Mon, 13 Jan 2014 18:39:46 -0800
Some techniques that can be used safely from a realtime thread include:
- signal a pthread condvar (but don't lock the associated mutex. this is useful if you signal from the realtime thread continuously while you continue to see the condition under which you want to wake the lower-priority thread.)
- send a mach message (but don't wait for a reply, and take care not to fill the receiving port's queue, or you will block).
Doug
_______________________________________________
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