From 03ad5eab59f7ca51099d7ccc60b27effc4d42383 Mon Sep 17 00:00:00 2001 From: Anthony Ramine Date: Sun, 12 May 2013 17:21:22 +0200 Subject: 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. --- erts/emulator/beam/erl_alloc.types | 1 + 1 file changed, 1 insertion(+) (limited to 'erts/emulator/beam/erl_alloc.types') 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 -- cgit v1.2.3