commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r6066 - gnuradio/branches/releases/3.0/gnuradio-core/s


From: jcorgan
Subject: [Commit-gnuradio] r6066 - gnuradio/branches/releases/3.0/gnuradio-core/src/lib/runtime
Date: Thu, 26 Jul 2007 08:20:02 -0600 (MDT)

Author: jcorgan
Date: 2007-07-26 08:20:01 -0600 (Thu, 26 Jul 2007)
New Revision: 6066

Modified:
   gnuradio/branches/releases/3.0/gnuradio-core/src/lib/runtime/gr_realtime.cc
Log:
Applied changeset r5520 on trunk to release branch.

Modified: 
gnuradio/branches/releases/3.0/gnuradio-core/src/lib/runtime/gr_realtime.cc
===================================================================
--- gnuradio/branches/releases/3.0/gnuradio-core/src/lib/runtime/gr_realtime.cc 
2007-07-26 14:17:08 UTC (rev 6065)
+++ gnuradio/branches/releases/3.0/gnuradio-core/src/lib/runtime/gr_realtime.cc 
2007-07-26 14:20:01 UTC (rev 6066)
@@ -39,7 +39,7 @@
 gr_enable_realtime_scheduling()
 {
   int policy = SCHED_FIFO;
-  int pri = (sched_get_priority_max (policy) - sched_get_priority_min 
(policy)) / 2;
+  int pri = (sched_get_priority_max (policy) + sched_get_priority_min 
(policy)) / 2;
   int pid = 0;  // this process
 
   struct sched_param param;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]