Daniele Nicolodi wrote:
> After fixing analogy to permit continuous acquisition, I discovered that
> ongoing commands are not canceled when a device is closed (I obtain a
> DMA buffer owerwrite warning in the kernel log when I abruptly terminate
>  my acquisition program).
> 
> I think this is quite a surprising behavior. I would expect that the
> commands are canceled when there isn't a data consumer any more. Would
> it be possible to cancel any ongoing command on device close? If there
> is agreement on this, I can look into providing a patch.
> 
The close should indeed stop any occurring acquisition. I implemented
this behaviour. It is in my git repository.

> Thanks. Cheers,

Alexis.

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to