mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-06 21:56:25 +01:00
add n_events argument to zmq_poller_wait_all
avoids unnecessary heap allocations, races on the number of items
This commit is contained in:
@@ -73,7 +73,7 @@ namespace zmq
|
||||
int modify_fd (fd_t fd, short events);
|
||||
int remove_fd (fd_t fd);
|
||||
|
||||
int wait (event_t *event, long timeout);
|
||||
int wait (event_t *event, int n_events, long timeout);
|
||||
|
||||
inline int size (void) { return items.size (); };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user