On Wed, May 28, 2014 at 2:53 PM, Ben Pfaff <b...@nicira.com> wrote: > On Wed, May 28, 2014 at 02:47:21PM -0700, Ansis Atteka wrote: >> Just curious. Do you think it would make sense to use ppoll() or >> signal_fd() instead of "self pipe trick" to handle signals? Not sure >> about portability, but it seems that ppoll() at least is POSIX >> compliant and was introduced in Linux 2.6.16. > > I'd be happy with ppoll() except that a few web searches suggest that > FreeBSD and NetBSD don't have it. > > I would prefer to avoid signalfd because then we'd definitely have to > maintain more than one implementation.
You are right, FreeBSD does not seem to have ppoll() [http://www.freebsd.org/cgi/man.cgi?query=ppoll&apropos=0&sektion=2&manpath=FreeBSD+11-current&arch=default&format=html]. It has just pselect() and that would not work for us due to imposed max FD limit. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev