From b082aa444c126703980eb973c476767dce80c3ed Mon Sep 17 00:00:00 2001 From: Martin Siegumfeldt Date: Fri, 5 May 2017 09:43:43 +0200 Subject: Add missing variable initialization - and thereby avoid deadlock upon the first wait() invocation Signed-off-by: Martin Siegumfeldt --- host/lib/usrp/e300/e300_fifo_config.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'host/lib/usrp') diff --git a/host/lib/usrp/e300/e300_fifo_config.cpp b/host/lib/usrp/e300/e300_fifo_config.cpp index 556e19120..c4c563af6 100644 --- a/host/lib/usrp/e300/e300_fifo_config.cpp +++ b/host/lib/usrp/e300/e300_fifo_config.cpp @@ -96,7 +96,8 @@ static UHD_INLINE size_t ZF_STREAM_OFF(const size_t which) struct e300_fifo_poll_waiter { e300_fifo_poll_waiter(const int fd): - fd(fd) + fd(fd), + _poll_claimed(false) { //NOP } -- cgit v1.2.3