Open catkira opened 1 month ago
I have set a timeout, so that iio_block_dequeue() in blocking mode returns after ie 20 ms when nothing was received. However when I call iio_buffer_cancel() before iio_block_dequeue() returned, it will never return and is just stuck.
This issue is probably related to https://github.com/analogdevicesinc/libiio/issues/1145, but lets fix https://github.com/analogdevicesinc/libiio/issues/1145 first.
I have set a timeout, so that iio_block_dequeue() in blocking mode returns after ie 20 ms when nothing was received. However when I call iio_buffer_cancel() before iio_block_dequeue() returned, it will never return and is just stuck.