Replace select with poll
Added prio fdes, handling of EINTR, optimized double for loops, handle POLLHUP
This commit is contained in:
parent
aa617fd677
commit
74c8244c66
6 changed files with 283 additions and 277 deletions
14
configure
vendored
14
configure
vendored
|
|
@ -777,7 +777,6 @@ with_yang_standard_dir
|
|||
with_clicon_user
|
||||
with_clicon_group
|
||||
enable_nls
|
||||
enable_event_poll
|
||||
'
|
||||
ac_precious_vars='build_alias
|
||||
host_alias
|
||||
|
|
@ -1424,7 +1423,6 @@ Optional Features:
|
|||
http/1 only
|
||||
--enable-netsnmp Enable net-snmp Clixon YANG mapping
|
||||
|
||||
--enable-event-poll Enable event polling feature
|
||||
|
||||
Optional Packages:
|
||||
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
||||
|
|
@ -6249,18 +6247,6 @@ fi
|
|||
|
||||
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
||||
|
||||
# Check whether --enable-event-poll was given.
|
||||
if test ${enable_event_poll+y}
|
||||
then :
|
||||
enableval=$enable_event_poll; if test "$enable_event_poll" = "yes"; then
|
||||
|
||||
printf "%s\n" "#define CLIXON_EVENT_POLL 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
|
||||
ac_config_files="$ac_config_files Makefile lib/Makefile lib/src/Makefile lib/clixon/Makefile apps/Makefile apps/cli/Makefile apps/backend/Makefile apps/netconf/Makefile apps/restconf/Makefile apps/snmp/Makefile include/Makefile etc/Makefile etc/clixonrc example/Makefile example/main/Makefile example/main/example.xml docker/Makefile docker/clixon-dev/Makefile docker/example/Makefile docker/test/Makefile yang/Makefile yang/clixon/Makefile yang/mandatory/Makefile doc/Makefile test/Makefile test/config.sh test/cicd/Makefile test/vagrant/Makefile"
|
||||
|
||||
cat >confcache <<\_ACEOF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue