Searched refs:fds (Results 1 – 3 of 3) sorted by relevance
| /libev/ |
| H A D | ev.c | 2386 int fds [2]; in evpipe_init() local 2389 fds [0] = -1; in evpipe_init() 2390 fds [1] = eventfd (0, EFD_NONBLOCK | EFD_CLOEXEC); in evpipe_init() 2391 if (fds [1] < 0 && errno == EINVAL) in evpipe_init() 2392 fds [1] = eventfd (0, 0); in evpipe_init() 2394 if (fds [1] < 0) in evpipe_init() 2397 while (pipe (fds)) in evpipe_init() 2400 fd_intern (fds [0]); in evpipe_init() 2403 evpipe [0] = fds [0]; in evpipe_init() 2414 dup2 (fds [1], evpipe [1]); in evpipe_init() [all …]
|
| H A D | ev.pod | 484 than select, but handles sparse fds better and has no artificial 485 limit on the number of fds you can use (except it will slow down 578 drops fds silently in similarly hard-to-detect cases. 3027 struct pollfd fds [nfd]; 3038 ev_io_init (iow + i, io_cb, fds [i].fd, 3039 ((fds [i].events & POLLIN ? EV_READ : 0) 3040 | (fds [i].events & POLLOUT ? EV_WRITE : 0))); 3042 fds [i].revents = 0; 3057 struct pollfd *fd = fds + i; 3105 event_poll_func (GPollFD *fds, guint nfds, gint timeout) [all …]
|
| H A D | Changes | 18 - when epoll detects unremovable fds in the fd set, rebuild
|