[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] pthread_setchedparam error in grc
From: |
Josh Blum |
Subject: |
Re: [Discuss-gnuradio] pthread_setchedparam error in grc |
Date: |
Fri, 20 Apr 2012 17:51:44 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120310 Thunderbird/11.0 |
On 04/20/2012 02:02 PM, labarowski wrote:
>
> Hello,
> I'm receiving a pthread_setchedparam error when running grc projects under
> Ubuntu 11.04. After reading a post from Almohanad Fayez 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!
Does this help?
http://files.ettus.com/uhd_docs/manual/html/general.html#thread-priority-scheduling
-josh