Linux GPIO support
Marc Lehmann
schmorp at schmorp.de
Thu Sep 3 16:06:22 CEST 2020
On Sat, Aug 15, 2020 at 04:45:19AM +0000, Anandu Suri <a11i_clptr2iu at outlook.com> wrote:
> Hello Marc,
Hi, and sorry for the delay.
> Not sure if this is a design decision or buggy design. But given that Linux is
It's a design bug. In any case, libev is not a linux-only library, and doe
snot attempt to implement linux-only behaviour that is at odds with portable
functionality.
You can poll for POLLPRI events using libev by using epoll and watching
the epoll file descriptor - while epoll is effectively a linux-only
function, that is fine, as it seems only to be required on linux.
There is little point in bloating libev with functionality that is a)
already supported with a bit of extra work and b) is only useful for
linux.
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / schmorp at schmorp.de
-=====/_/_//_/\_,_/ /_/\_\
More information about the libev
mailing list