Nam Nguyen writes:
> After further research, this commit[1][2] may explain what is going on.
>
> > Remove SIGIO support.  Base tools do not implement it and ports relying
> > on libusbhid, generally via SDL, shouldn't do it either since it's not
> > portable.
>
> If I understand correctly, I should take up this issue with the
> developers of the affected ports to not rely on this non-portable
> code. Many emulators rely on SDL. I incorrectly viewed this as a
> regression with uhid(4). Instead, it is a design decision by OpenBSD to
> break backward compatibility, in favor of more portable code.

Causing every single one of the dozens of ports that use SDL or SDL2 for
joysticks to freeze and ignore kill(1) was not a design decision, it was
an oversight. That happens occasionally. Unfortunately this particular
runtime regression was not noticed until quite some time after the commit.

Reply via email to