]> xenbits.xensource.com Git - xen.git/commit
libxl: libxl_event.c:beforepoll_internal, REQUIRE_FDS
authorIan Jackson <ian.jackson@eu.citrix.com>
Wed, 11 Apr 2012 13:14:17 +0000 (14:14 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Wed, 11 Apr 2012 13:14:17 +0000 (14:14 +0100)
commit88d3e27049298a53d9f9f5c8600d2799dc88ef7b
treeec8556a7a2b8e0ceabdb74ba46ccf73c4804a2f0
parent3d2a8f74e6a6067cfc67923d1bea58959427b753
libxl: libxl_event.c:beforepoll_internal, REQUIRE_FDS

Introduce definition and use of a new function-local macro REQUIRE_FDS
to avoid repeatedly spelling out which fds we are interested in.

We are going to introduce a new fd for the SIGCHLD self-pipe.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
tools/libxl/libxl_event.c