Pthread_setchedparam error in grc

Hello,
I’m receiving a pthread_setchedparam error when running grc projects
under
Ubuntu 11.04. After reading a post from Almohanad F. in an archive of
this mailing list, I decided to try adding kernel.sched_rt_runtime_us =
-1
to my /etc/sysctl.conf file. This did change the thread priority which I
was
able to verify with cat /proc/sys/kernel/sched_rt_runtime_us. However, I
got
the same error in grc. Thus far, the only thing that will get rid of
this
error is if I run grc as root. I never had to run it as root on my
Ubuntu
10.04 machine though. Is there a setting that I can change so that grc
doesn’t need to be ran as root to be able to use scheduling? Thanks!

View this message in context:
http://old.nabble.com/pthread_setchedparam-error-in-grc-tp33722768p33722768.html
Sent from the GnuRadio mailing list archive at Nabble.com.

On 04/20/2012 02:02 PM, labarowski wrote:

doesn’t need to be ran as root to be able to use scheduling? Thanks!
Does this help?
http://files.ettus.com/uhd_docs/manual/html/general.html#thread-priority-scheduling

-josh

Exactly what I was looking for Josh. Grc gave a prompt to check the
documentation along with the error but I was unable to find this. Thanks
and I’m sorry to bother you with something that should have been
apparent with a little searching - I just wasn’t looking in the right
places.