Re: esound feature request
- From: Andrew Clausen <clausen alphalink com au>
- To: Matthias Warkus <mawarkus t-online de>, gnome-list <gnome-list gnome org>
- Subject: Re: esound feature request
- Date: Sun, 04 Apr 1999 09:26:51 +1000
Matthias Warkus wrote:
> Ho, ho, ho...
>
> Am I missing something? Is a normal Linux kernel real-time capable? Or
> are we talking RTLinux here?
I'm talking about vanilla Linux. In fact, all POSIX compliant OS's should be
ableto do this.
You can do:
sched_set_scheduler (getpid (), SCHED_FIFO, <priority level>);
which means the process will always take priority over normal processes.
Unfortunately in vanilla Linux, this doesn't include kernel disk IO. So you
have to hack.
One thing that works is to have a thread flushing the disk buffers when the
RT thread
is idle.
Another thing you want to do is to lock all memory pages - do:
mlockall (MC_FUTURE);
Andrew Clausen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]