diff options
author | Sverker Eriksson <[email protected]> | 2018-07-02 21:14:58 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2018-07-02 21:17:42 +0200 |
commit | 8d5418b9b89b24ac04477b6141d440f5099f0f81 (patch) | |
tree | ba38207fe988642933ce49d08850715353cfa6c0 | |
parent | 2f029aa2df32c2d0c1fdd2801ed52cbadafd56f7 (diff) | |
download | otp-8d5418b9b89b24ac04477b6141d440f5099f0f81.tar.gz otp-8d5418b9b89b24ac04477b6141d440f5099f0f81.tar.bz2 otp-8d5418b9b89b24ac04477b6141d440f5099f0f81.zip |
erts,runtime_tools: Remove some vfork residues
The use of vfork was removed in OTP-19
with the introduction of the dedicated forker process.
-rw-r--r-- | erts/configure.in | 23 | ||||
-rw-r--r-- | lib/runtime_tools/src/system_information.erl | 1 |
2 files changed, 0 insertions, 24 deletions
diff --git a/erts/configure.in b/erts/configure.in index 9e8ffd5ec5..2b3d97cfdd 100644 --- a/erts/configure.in +++ b/erts/configure.in @@ -2012,29 +2012,6 @@ esac AC_CHECK_DECLS([posix2time, time2posix],,,[#include <time.h>]) -disable_vfork=false -if test "x$EMU_THR_LIB_NAME" != "x"; then - AC_MSG_CHECKING([if vfork is known to hang multithreaded applications]) - case $host_os in - osf*) - AC_MSG_RESULT(yes) - disable_vfork=true;; - *) - AC_MSG_RESULT(no);; - esac -fi - -if test $disable_vfork = false; then - AC_FUNC_VFORK - if test $ac_cv_func_vfork_works = no; then - disable_vfork=true - fi -fi - -if test $disable_vfork = true; then - AC_DEFINE(DISABLE_VFORK, 1, [Define if you want to disable vfork.]) -fi - AC_FUNC_VPRINTF dnl The AC_DEFINEs are necessary for autoheader to work. :-( diff --git a/lib/runtime_tools/src/system_information.erl b/lib/runtime_tools/src/system_information.erl index 136ee55b54..8f7bfa195b 100644 --- a/lib/runtime_tools/src/system_information.erl +++ b/lib/runtime_tools/src/system_information.erl @@ -400,7 +400,6 @@ os_getenv_erts_specific() -> "ERL_MALLOC_LIB", "ERL_MAX_PORTS", "ERL_MAX_ETS_TABLES", - "ERL_NO_VFORK", "ERL_NO_KERNEL_POLL", "ERL_THREAD_POOL_SIZE", "ERLC_EMULATOR", |