On Tue, Aug 20, 2019 at 08:53:21AM +0200, "Michael Kerrisk (man-pages)"
<[email protected]> wrote:
> On 7/1/19 10:34 PM, Marc Lehmann wrote:
> > Package: manpages-dev
> > Version: 4.16-2
> > Severity: minor
> >
> > Dear Maintainer,
> >
> > I found that, at least with debians 4.19 kernel, io_cancel can fail with
> > EINTR on signal delivery, which should be documented as per similar calls.
>
> Can you provide some more info on the circumstances where you observed
> this behavior please.
Well, while developing the aio backend for libev, but the details are lost
to my meory by now. I do remember having looked at the kernel code at the
time to see why it would block, because I didn't expect it to.
Also, what more detail than "signal delivery can cause EINTR" do you have
on your mind? This cause of EINTR seems pretty standard to me (signal
received while in interuptible wait - EINTR) - the only question to me
would be whether io_cancel does interruptible waits, which isn't clear
from the documentation, and would device whether it can result in EINTR or
not.
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / [email protected]
-=====/_/_//_/\_,_/ /_/\_\