Re: [linux-audio-dev] [Slightly OT] How to access "real-time" capabilities

From: Asbjørn Sæbø <asbjs@email-addr-hidden>
Date: Thu Jun 09 2005 - 09:29:21 EEST

On Wed, Jun 08, 2005 at 11:20:18AM -0500, Jack O'Quin wrote:
> asbjs@email-addr-hidden (Asbjørn Sæbø) writes:

[...]
> > * If given a real-time kernel, what else is necessary to take advantage
> > of its capabilities?
>
> Your realtime thread needs to use one of the POSIX realtime scheduling
> options: SCHED_FIFO or SCHED_RR. For best results, only do this for
> the code that actually *needs* precise timing.

Thanks! Bear with me, please, but this is still not totally clear to
me. This is something that is done in the code, as it is written, is
that correct? It is not something you can do to an already written
program?

Or, in other words: Is there a way to have an already written/compiled
program to achieve realtime scheduling?

Asbjørn
Received on Thu Jun 9 12:15:05 2005

This archive was generated by hypermail 2.1.8 : Thu Jun 09 2005 - 12:15:06 EEST