[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] USRP underrun
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] USRP underrun |
Date: |
Tue, 1 Aug 2006 21:04:32 -0700 |
User-agent: |
Mutt/1.5.9i |
On Wed, Aug 02, 2006 at 10:40:38AM +0800, hanwen wrote:
> Interesting about realtime scheduling?
> What does it do and what can we benifit from it?
$ man sched_setscheduler
And look for the part about SCHED_FIFO.
When enabled it ensures that our process runs before most others.
Note that it's possible to "blow your foot off" with SCHED_FIFO.
If you make a coding mistake and the code enters an infinite tight
loop, it's really hard to kill the process.
Eric