[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] gnuradio-examples/python/gmsk2 tunnel_ip_null_m...
From: |
Eric Blossom |
Subject: |
[Commit-gnuradio] gnuradio-examples/python/gmsk2 tunnel_ip_null_m... |
Date: |
Sat, 17 Jun 2006 21:06:26 +0000 |
CVSROOT: /sources/gnuradio
Module name: gnuradio-examples
Changes by: Eric Blossom <eb> 06/06/17 21:06:26
Modified files:
python/gmsk2 : tunnel_ip_null_mac.py
Log message:
added enable_realtime_scheduling
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnuradio-examples/python/gmsk2/tunnel_ip_null_mac.py?cvsroot=gnuradio&r1=1.8&r2=1.9
Patches:
Index: tunnel_ip_null_mac.py
===================================================================
RCS file:
/sources/gnuradio/gnuradio-examples/python/gmsk2/tunnel_ip_null_mac.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- tunnel_ip_null_mac.py 17 Jun 2006 19:22:52 -0000 1.8
+++ tunnel_ip_null_mac.py 17 Jun 2006 21:06:26 -0000 1.9
@@ -250,6 +250,12 @@
print "Allocated tun interface: %s" % (tun_ifname,)
print "You must ifconfig it and set up your routing now."
+
+ r = gr.enable_realtime_scheduling()
+ if r != r.RT_OK:
+ print "Warning: failed to enable realtime scheduling"
+
+
fg.start() # Start executing the flow graph (runs in separate threads)
mac.main_loop() # don't expect this to return...
- [Commit-gnuradio] gnuradio-examples/python/gmsk2 tunnel_ip_null_m...,
Eric Blossom <=