21 Mar
2018
21 Mar
'18
6:07 p.m.
On Wed, 21 Mar 2018 18:02:18 +0100, Wischer, Timo (ADITG/ESB) wrote:
It means that the pulse plugin is buggy. And fixing in ioplug will fix the whole.
Possibly it is to late but I have no idea how to change the IO plug API implementation that draining of all IO plugins is working without changing the IO plugins it self. When ever I am calling the drain callback of an IO plugin it is blocking but I have to call it to signal to the IO plugin that I want to drain.
Why not poll()?
IOW, why ioplug must be handled specially regarding the non-blocking operation? The normal kernel driver behaves like that (returning -EAGAIN, and let apps to sync with poll()).
Takashi