AnsweredAssumed Answered

libiio: recover from unclean exit

Question asked by rrogers on Jul 6, 2015
Latest reply on Apr 27, 2016 by pcercuei



I've noticed that after my application crashes and exits uncleanly, the next time I start the application, iio_create_buffer() returns null.  After stopping the application cleanly and restarting again, everything is ok.  Is there anything I can do to ensure libiio is in a good state when recovery from application failure?