summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/include/gnuradio/thread/thread_body_wrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-runtime/include/gnuradio/thread/thread_body_wrapper.h')
-rw-r--r--gnuradio-runtime/include/gnuradio/thread/thread_body_wrapper.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/gnuradio-runtime/include/gnuradio/thread/thread_body_wrapper.h b/gnuradio-runtime/include/gnuradio/thread/thread_body_wrapper.h
index 4342aea3f5..c25aad9af4 100644
--- a/gnuradio-runtime/include/gnuradio/thread/thread_body_wrapper.h
+++ b/gnuradio-runtime/include/gnuradio/thread/thread_body_wrapper.h
@@ -49,16 +49,13 @@ public:
mask_signals();
try {
- d_f();
- } catch (boost::thread_interrupted const&) {
- } catch (std::exception const& e) {
- std::cerr << "thread[" << d_name << "]: " << e.what() << std::endl;
- } catch (...) {
- std::cerr << "thread[" << d_name << "]: "
- << "caught unrecognized exception\n";
+ d_f();
}
- }
-};
+ catch(boost::thread_interrupted const &)
+ {
+ }
+ }
+ };
} /* namespace thread */
} /* namespace gr */