Subject: Re: [linux-audio-dev] SCHED_FIFO versus SCHED_RR
From: Andy Lo-A-Foe (andy_AT_alsaplayer.org)
Date: Tue Nov 27 2001 - 00:24:20 EET
On Mon, Nov 26, 2001 at 04:52:01PM -0500, Ivica Bukvic wrote:
> absolutely nothing, even though the program compiles without errors. Is
> this due to fact that I need to run the app as a superuser? I am pretty
Yes, setting your thread to SCHED_FIFO/RR is a privileged operation
which only root can do. Either run as root, or make your program suid
root.
> sure that I do not need LL patches for this thing to run since pthreads
> have been designed to run on regular linux machines (please do correct
> me if I am wrong).
However LL patches help a lot if you want to do any low latency audio on
Linux.
Andy
This archive was generated by hypermail 2b28 : Tue Nov 27 2001 - 00:32:36 EET