disable HAVE_POLL_SYSCALL in solaris: poll(2) is the CPU eater, and this problem affects all TCP applications including plt-web-server.

This commit is contained in:
WarGrey Gyoudmon Ju 2015-07-02 07:30:53 +08:00 committed by Matthew Flatt
parent 40f79dd72e
commit 8a817e577c
2 changed files with 2 additions and 2 deletions

View File

@ -4537,7 +4537,7 @@ case "$host_os" in
LIBS="$LIBS -lsocket -lnsl -lintl"
need_gcc_static_libgcc="yes"
check_gcc_dash_e="yes"
try_poll_syscall="yes"
try_poll_syscall="no" # poll() has performance problems on Solaris?
use_flag_pthread="no"
use_flag_posix_pthread="yes"
;;

View File

@ -668,7 +668,7 @@ case "$host_os" in
LIBS="$LIBS -lsocket -lnsl -lintl"
need_gcc_static_libgcc="yes"
check_gcc_dash_e="yes"
try_poll_syscall="yes"
try_poll_syscall="no" # poll() has performance problems on Solaris?
use_flag_pthread="no"
use_flag_posix_pthread="yes"
;;