aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/sys
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2017-07-19 14:34:44 +0200
committerLukas Larsson <[email protected]>2017-10-02 10:35:53 +0200
commit4ac6ce823f96310259e7c5d1e8b242e548150ace (patch)
tree38789251befbeacec7597e1b602fe77f7625ca11 /erts/emulator/sys
parente1e22afa5429909108560dc2f20912614cbe8a3c (diff)
downloadotp-4ac6ce823f96310259e7c5d1e8b242e548150ace.tar.gz
otp-4ac6ce823f96310259e7c5d1e8b242e548150ace.tar.bz2
otp-4ac6ce823f96310259e7c5d1e8b242e548150ace.zip
erts: Add testcases to test IOp and IOt options
Diffstat (limited to 'erts/emulator/sys')
-rw-r--r--erts/emulator/sys/common/erl_poll.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/erts/emulator/sys/common/erl_poll.c b/erts/emulator/sys/common/erl_poll.c
index c671ea99f4..fc32dbf370 100644
--- a/erts/emulator/sys/common/erl_poll.c
+++ b/erts/emulator/sys/common/erl_poll.c
@@ -1930,6 +1930,14 @@ ERTS_POLL_EXPORT(erts_poll_info)(ErtsPollSet *ps, ErtsPollInfo *pip)
#endif
;
+ pip->batch_updates =
+#if ERTS_POLL_USE_DEVPOLL
+ 1
+#else
+ 0
+#endif
+ ;
+
pip->max_fds = max_fds;
ERTS_POLLSET_UNLOCK(ps);