]> git.gag.com Git - debian/gnuradio/commitdiff
probe threads: set daemon
authorjblum <jblum@221aa14e-8319-0410-a670-987f0aec2ac5>
Wed, 8 Oct 2008 00:14:46 +0000 (00:14 +0000)
committerjblum <jblum@221aa14e-8319-0410-a670-987f0aec2ac5>
Wed, 8 Oct 2008 00:14:46 +0000 (00:14 +0000)
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9739 221aa14e-8319-0410-a670-987f0aec2ac5

grc/data/platforms/python/blocks/gr_probe_avg_mag_sqrd_x.xml
grc/data/platforms/python/blocks/gr_probe_density_b.xml
grc/data/platforms/python/blocks/gr_probe_mpsk_snr_c.xml
grc/data/platforms/python/blocks/gr_probe_signal_f.xml
grc/todo.txt

index 310d97388125a068af19ea3732c0e793b190dda6..cbd8446cd34931a7e0251f1536d8a802fa44e28e 100644 (file)
@@ -15,7 +15,9 @@ def _$(id)_run():
        while True:
                time.sleep($update_interval)
                print "$(id) Level:", self.$(id).level()
-threading.Thread(target=_$(id)_run).start()</make>
+_$(id)_thread = threading.Thread(target=_$(id)_run)
+_$(id)_thread.setDaemon(True)
+_$(id)_thread.start()</make>
        <callback>set_alpha($alpha)</callback>
        <callback>set_threshold($threshold)</callback>
        <param>
index 1c529da5f529ddc41ee2536e1f18685460079122..4c5b9e2fa81da02c23edbe7149e570772212e9c2 100644 (file)
@@ -15,7 +15,9 @@ def _$(id)_run():
        while True:
                time.sleep($update_interval)
                print "$(id) Density:", self.$(id).density()
-threading.Thread(target=_$(id)_run).start()</make>
+_$(id)_thread = threading.Thread(target=_$(id)_run)
+_$(id)_thread.setDaemon(True)
+_$(id)_thread.start()</make>
        <callback>set_alpha($alpha)</callback>
        <param>
                <name>Alpha</name>
index a4a9e00aed9d2fde69e59838d780b5993e20396a..ec80d092d963a3c9340fac61f1e4e9c102d70280 100644 (file)
@@ -17,7 +17,9 @@ def _$(id)_run():
                print "$(id) Signal Mean:", self.$(id).signal_mean()
                print "$(id) Noise Variance:", self.$(id).noise_variance()
                print "$(id) SNR:", self.$(id).snr()
-threading.Thread(target=_$(id)_run).start()</make>
+_$(id)_thread = threading.Thread(target=_$(id)_run)
+_$(id)_thread.setDaemon(True)
+_$(id)_thread.start()</make>
        <callback>set_alpha($alpha)</callback>
        <param>
                <name>Alpha</name>
index 211d4f3a1b967eceaec1c60423f09b006f262cd6..688887f475480a7a100b2aae1cfd5b655fe83978 100644 (file)
@@ -15,7 +15,9 @@ def _$(id)_run():
        while True:
                time.sleep($update_interval)
                print "$(id) Level:", self.$(id).level()
-threading.Thread(target=_$(id)_run).start()</make>
+_$(id)_thread = threading.Thread(target=_$(id)_run)
+_$(id)_thread.setDaemon(True)
+_$(id)_thread.start()</make>
        <param>
                <name>Update Interval (s)</name>
                <key>update_interval</key>
index d74f7c858a55078dac1e4d2a62dba45b864836fd..71a383143764fa2ced37809af841f764ddf33c6a 100644 (file)
@@ -6,6 +6,7 @@
 -controlled step block
 -throttle with sink only (source is nulled)
 -simplify simple usrp
+-probe blocks needs better polling mechanism
 
 ##################################################
 # Features
@@ -19,6 +20,7 @@
 -zoom in/out (cairo vector graphics) (use scroll wheel as control)
 -search for blocks
 -click and drag on whitespace to scroll
+-expand preferences, allow for custome prefs, prefs dialog should infer structure
 
 ##################################################
 # Problems
@@ -27,6 +29,7 @@
 -auto clean hier library
 -add hier blocks to tree without restart?
 -dont hide vlen controller when vlen > 1
+-dont generate py files in cwd, add preference for user to choose
 
 ##################################################
 # External
@@ -39,4 +42,4 @@
 # Documentation
 ##################################################
 -notes on throttle
--how to add a block wrapper
+-notes on xdg-utils