aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/common
diff options
context:
space:
mode:
authorBalint Seeber <balint@ettus.com>2014-02-03 11:43:50 -0800
committerBalint Seeber <balint@ettus.com>2014-02-03 11:43:50 -0800
commit5eb7c3e492f6a766e02565ac0a63e1a2c3c25f8b (patch)
treea6bbc32429c30a9fd53ff3dec7c17c509c6a4d7e /host/lib/usrp/common
parent7431627a2a64735f958bb2ced028fd73bbd8bb68 (diff)
downloaduhd-5eb7c3e492f6a766e02565ac0a63e1a2c3c25f8b.tar.gz
uhd-5eb7c3e492f6a766e02565ac0a63e1a2c3c25f8b.tar.bz2
uhd-5eb7c3e492f6a766e02565ac0a63e1a2c3c25f8b.zip
uhd: disabled other use of _claimed and cond sync variables (no effect if previous change is used anyway)
Diffstat (limited to 'host/lib/usrp/common')
-rw-r--r--host/lib/usrp/common/recv_packet_demuxer_3000.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/host/lib/usrp/common/recv_packet_demuxer_3000.hpp b/host/lib/usrp/common/recv_packet_demuxer_3000.hpp
index 543c9ce76..9f64d4262 100644
--- a/host/lib/usrp/common/recv_packet_demuxer_3000.hpp
+++ b/host/lib/usrp/common/recv_packet_demuxer_3000.hpp
@@ -103,8 +103,10 @@ namespace uhd{ namespace usrp{
buff.reset();
}
}
+#ifdef RECV_PACKET_DEMUXER_3000_THREAD_SAFE
_claimed.write(0);
cond.notify_all();
+#endif // RECV_PACKET_DEMUXER_3000_THREAD_SAFE
}
return buff;
}