wireshark: don't block waiting for messages

This commit is contained in:
Bastian Bloessl
2016-04-28 17:04:50 +02:00
parent d32db7df76
commit 7bf5d07e94
+1 -5
View File
@@ -181,11 +181,7 @@ wireshark_connector_impl::general_work(int noutput, gr_vector_int& ninput_items,
gr_complex *out = (gr_complex*)output_items[0];
if(!d_msg_len) {
#ifdef GR_FOO_NEW_API
pmt::pmt_t msg(delete_head_blocking(pmt::mp("in"), 100));
#else
pmt::pmt_t msg(delete_head_blocking(pmt::mp("in")));
#endif
pmt::pmt_t msg(delete_head_nowait(pmt::mp("in")));
if(!msg) {
return 0;