AnsweredAssumed Answered

aborting iio transfer

Question asked by rrogers on Mar 26, 2015
Latest reply on Mar 27, 2015 by pcercuei

Is there a way to abort in progress transmissions started with iio_buffer_push()?  I have a thread that continually reads data from a file and calls iio_buffer_push(), which will block when waiting for internal buffers to be ready for new data.  What is the cleanest way to abort when the push call is blocked?

Outcomes