aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam
diff options
context:
space:
mode:
authorAnthony Ramine <[email protected]>2013-05-12 17:21:22 +0200
committerAnthony Ramine <[email protected]>2013-05-12 17:21:22 +0200
commit03ad5eab59f7ca51099d7ccc60b27effc4d42383 (patch)
tree6559ac91730524539a81bbf6c50a5ae5b25252d3 /erts/emulator/beam
parent89939207898fc68a2ee0c080e603aa65fb866b25 (diff)
downloadotp-03ad5eab59f7ca51099d7ccc60b27effc4d42383.tar.gz
otp-03ad5eab59f7ca51099d7ccc60b27effc4d42383.tar.bz2
otp-03ad5eab59f7ca51099d7ccc60b27effc4d42383.zip
Use _DARWIN_UNLIMITED_SELECT in erl_poll
This allows erl_poll to select() on file descriptors greater than FD_SETSIZE (1024) on Darwin. The fd sets are manually (re)allocated and freed.
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r--erts/emulator/beam/erl_alloc.types1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_alloc.types b/erts/emulator/beam/erl_alloc.types
index 5e3615ccc2..a9cd779e1c 100644
--- a/erts/emulator/beam/erl_alloc.types
+++ b/erts/emulator/beam/erl_alloc.types
@@ -401,6 +401,7 @@ type POLLSET_UPDREQ SHORT_LIVED SYSTEM pollset_update_req
type POLL_FDS LONG_LIVED SYSTEM poll_fds
type POLL_RES_EVS LONG_LIVED SYSTEM poll_result_events
type FD_STATUS LONG_LIVED SYSTEM fd_status
+type SELECT_FDS LONG_LIVED SYSTEM select_fds
+if unix