diff options
author | Marcus Müller <marcus.mueller@ettus.com> | 2018-11-04 18:44:10 +0100 |
---|---|---|
committer | Andrej Rode <mail@andrejro.de> | 2018-11-12 12:30:42 +0100 |
commit | 9def7b29897e137f4936fbbaaae990910c0913a1 (patch) | |
tree | 0caefef7e2c8a355471b77bff0ad0a4dbe167c65 /gnuradio-runtime/python/gnuradio/gru | |
parent | b1e0b54d02bb981eba734ea29174e6134950dde6 (diff) |
runtime: gr_threading clutch obsolete; remove it and its usage
We essentially monkeypatched Python's `threading` module inelegantly to
get around shortcomings in Python 2.3 and 2.4.
Since support for these versions is long gone: removal of this clutch
and its usage.
Diffstat (limited to 'gnuradio-runtime/python/gnuradio/gru')
-rw-r--r-- | gnuradio-runtime/python/gnuradio/gru/msgq_runner.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnuradio-runtime/python/gnuradio/gru/msgq_runner.py b/gnuradio-runtime/python/gnuradio/gru/msgq_runner.py index 2d58480f5f..4bcc06c60a 100644 --- a/gnuradio-runtime/python/gnuradio/gru/msgq_runner.py +++ b/gnuradio-runtime/python/gnuradio/gru/msgq_runner.py @@ -43,12 +43,12 @@ To determine if the runner has exited, call exited() on the object. from __future__ import unicode_literals from gnuradio import gr -import gnuradio.gr.gr_threading as _threading +import threading -class msgq_runner(_threading.Thread): +class msgq_runner(threading.Thread): def __init__(self, msgq, callback, exit_on_error=False): - _threading.Thread.__init__(self) + threading.Thread.__init__(self) self._msgq = msgq self._callback = callback |