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: Dave Fernandes <email@hidden>
- Date: Mon, 13 Jan 2014 22:16:39 -0500
Is signaling a dispatch semaphore safe?
On Jan 13, 2014, at 9:39 PM, Doug Wyatt <email@hidden> wrote:
> 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
_______________________________________________
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