Re: Any system calls OK to use in audio thread?
Re: Any system calls OK to use in audio thread?
- Subject: Re: Any system calls OK to use in audio thread?
- From: Paul Davis <email@hidden>
- Date: Tue, 27 Feb 2018 17:15:57 -0500
On Tue, Feb 27, 2018 at 5:10 PM, Brian Armstrong <
email@hidden> wrote:
> Also, in the context of things that could block, it's certainly possible
> that reading/writing to a large array will hit an unmapped page, which I
> believe will context switch your thread out. I don't know that any OS makes
> guarantees for how long a page fault could take. I think it's not generally
> possible to make such guarantees with virtual memory.
>
that's why you use memlock(2) or equivalent on code and data that will run
in realtime context.
_______________________________________________
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