Don't use RLIMIT_NOFILES in devpoll_t.

The patch allows for running 0MQ on Solaris and HP-UX
even though ulimit for max number of file descriptors
is set to unlimited.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
Martin Sustrik
2011-02-03 09:59:54 +01:00
parent ca1acc340c
commit 3f758ab2f4
2 changed files with 12 additions and 11 deletions

View File

@@ -73,7 +73,8 @@ namespace zmq
bool accepted;
};
std::vector <fd_entry_t> fd_table;
typedef std::vector <fd_entry_t> fd_table_t;
fd_table_t fd_table;
typedef std::vector <fd_t> pending_list_t;
pending_list_t pending_list;