Changeset 9739

Show
Ignore:
Timestamp:
10/07/08 18:14:46
Author:
jblum
Message:

probe threads: set daemon

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • gnuradio/trunk/grc/data/platforms/python/blocks/gr_probe_avg_mag_sqrd_x.xml

    r9730 r9739  
    1616                time.sleep($update_interval) 
    1717                print "$(id) Level:", self.$(id).level() 
    18 threading.Thread(target=_$(id)_run).start()</make> 
     18_$(id)_thread = threading.Thread(target=_$(id)_run) 
     19_$(id)_thread.setDaemon(True) 
     20_$(id)_thread.start()</make> 
    1921        <callback>set_alpha($alpha)</callback> 
    2022        <callback>set_threshold($threshold)</callback> 
  • gnuradio/trunk/grc/data/platforms/python/blocks/gr_probe_density_b.xml

    r9730 r9739  
    1616                time.sleep($update_interval) 
    1717                print "$(id) Density:", self.$(id).density() 
    18 threading.Thread(target=_$(id)_run).start()</make> 
     18_$(id)_thread = threading.Thread(target=_$(id)_run) 
     19_$(id)_thread.setDaemon(True) 
     20_$(id)_thread.start()</make> 
    1921        <callback>set_alpha($alpha)</callback> 
    2022        <param> 
  • gnuradio/trunk/grc/data/platforms/python/blocks/gr_probe_mpsk_snr_c.xml

    r9730 r9739  
    1818                print "$(id) Noise Variance:", self.$(id).noise_variance() 
    1919                print "$(id) SNR:", self.$(id).snr() 
    20 threading.Thread(target=_$(id)_run).start()</make> 
     20_$(id)_thread = threading.Thread(target=_$(id)_run) 
     21_$(id)_thread.setDaemon(True) 
     22_$(id)_thread.start()</make> 
    2123        <callback>set_alpha($alpha)</callback> 
    2224        <param> 
  • gnuradio/trunk/grc/data/platforms/python/blocks/gr_probe_signal_f.xml

    r9730 r9739  
    1616                time.sleep($update_interval) 
    1717                print "$(id) Level:", self.$(id).level() 
    18 threading.Thread(target=_$(id)_run).start()</make> 
     18_$(id)_thread = threading.Thread(target=_$(id)_run) 
     19_$(id)_thread.setDaemon(True) 
     20_$(id)_thread.start()</make> 
    1921        <param> 
    2022                <name>Update Interval (s)</name> 
  • gnuradio/trunk/grc/todo.txt

    r9705 r9739  
    77-throttle with sink only (source is nulled) 
    88-simplify simple usrp 
     9-probe blocks needs better polling mechanism 
    910 
    1011################################################## 
     
    2021-search for blocks 
    2122-click and drag on whitespace to scroll 
     23-expand preferences, allow for custome prefs, prefs dialog should infer structure 
    2224 
    2325################################################## 
     
    2830-add hier blocks to tree without restart? 
    2931-dont hide vlen controller when vlen > 1 
     32-dont generate py files in cwd, add preference for user to choose 
    3033 
    3134################################################## 
     
    4043################################################## 
    4144-notes on throttle 
    42 -how to add a block wrapper 
     45-notes on xdg-utils