AnsweredAssumed Answered

libiio: AD9361 and multiple contexts

Question asked by on Feb 8, 2017
Latest reply on Feb 8, 2017 by pcercuei

I am trying to share AD9361 as a transceiver resource between different processes.


Supposing cooperative operation between processes, is there any way to share the underlying buffers in high speed mode (iio_buffer)?


I know it is not the ideal way to use it, but the main reason I have is latency in destroying and creating a new buffer from other context.


I thought of using shared memory segments with all iio_context, devices, and additional synchronization, but I will have to mmap again the file descriptor from other processes. Would this work?


Thank you