… | |
… | |
106 | } |
106 | } |
107 | |
107 | |
108 | int inline_size |
108 | int inline_size |
109 | poll_init (EV_P_ int flags) |
109 | poll_init (EV_P_ int flags) |
110 | { |
110 | { |
111 | backend_fudge = 0; /* needed to compensate for select returning early, very conservative */ |
111 | backend_fudge = 0.; /* posix says this is zero */ |
112 | backend_modify = poll_modify; |
112 | backend_modify = poll_modify; |
113 | backend_poll = poll_poll; |
113 | backend_poll = poll_poll; |
114 | |
114 | |
115 | pollidxs = 0; pollidxmax = 0; |
115 | pollidxs = 0; pollidxmax = 0; |
116 | polls = 0; pollmax = 0; pollcnt = 0; |
116 | polls = 0; pollmax = 0; pollcnt = 0; |