diff options
author | Anthony Ramine <[email protected]> | 2013-05-12 17:21:22 +0200 |
---|---|---|
committer | Anthony Ramine <[email protected]> | 2013-05-12 17:21:22 +0200 |
commit | 03ad5eab59f7ca51099d7ccc60b27effc4d42383 (patch) | |
tree | 6559ac91730524539a81bbf6c50a5ae5b25252d3 /erts/emulator/beam | |
parent | 89939207898fc68a2ee0c080e603aa65fb866b25 (diff) | |
download | otp-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.types | 1 |
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 |