diff options
author | Rickard Green <[email protected]> | 2014-10-23 10:45:03 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2014-10-23 10:45:03 +0200 |
commit | fd64aab6bdb78688de780925d1d23fd565c58e33 (patch) | |
tree | 7b0f05ac2452cf57205e44762dc65292fa804da5 /erts/emulator/sys/unix | |
parent | 527ae7b5030ba7339eba5ba4089888c8f90e2879 (diff) | |
parent | 3b972c26208c99282215766c3716ae23a1ac6214 (diff) | |
download | otp-fd64aab6bdb78688de780925d1d23fd565c58e33.tar.gz otp-fd64aab6bdb78688de780925d1d23fd565c58e33.tar.bz2 otp-fd64aab6bdb78688de780925d1d23fd565c58e33.zip |
Merge branch 'rickard/master/eager-check-io/OTP-12117'
* rickard/master/eager-check-io/OTP-12117:
No eager check I/O on OSE
Introduce support for eager check I/O scheduling
Diffstat (limited to 'erts/emulator/sys/unix')
-rw-r--r-- | erts/emulator/sys/unix/erl_unix_sys.h | 3 | ||||
-rw-r--r-- | erts/emulator/sys/unix/sys.c | 6 |
2 files changed, 3 insertions, 6 deletions
diff --git a/erts/emulator/sys/unix/erl_unix_sys.h b/erts/emulator/sys/unix/erl_unix_sys.h index 176fc049a7..b2fe34c1ac 100644 --- a/erts/emulator/sys/unix/erl_unix_sys.h +++ b/erts/emulator/sys/unix/erl_unix_sys.h @@ -135,9 +135,6 @@ /* File descriptors are numbers anc consecutively allocated on Unix */ #define ERTS_SYS_CONTINOUS_FD_NUMBERS -#define HAVE_ERTS_CHECK_IO_DEBUG -int erts_check_io_debug(void); - #ifndef ERTS_SMP # undef ERTS_POLL_NEED_ASYNC_INTERRUPT_SUPPORT # define ERTS_POLL_NEED_ASYNC_INTERRUPT_SUPPORT diff --git a/erts/emulator/sys/unix/sys.c b/erts/emulator/sys/unix/sys.c index eed93cb2a0..5de0c281c4 100644 --- a/erts/emulator/sys/unix/sys.c +++ b/erts/emulator/sys/unix/sys.c @@ -298,7 +298,7 @@ struct { void (*check_io)(int); Uint (*size)(void); Eterm (*info)(void *); - int (*check_io_debug)(void); + int (*check_io_debug)(ErtsCheckIoDebugInfo *); } io_func = {0}; @@ -320,9 +320,9 @@ Eterm erts_check_io_info(void *p) } int -erts_check_io_debug(void) +erts_check_io_debug(ErtsCheckIoDebugInfo *ip) { - return (*io_func.check_io_debug)(); + return (*io_func.check_io_debug)(ip); } |