Lines Matching refs:maxevents
177 multi_tcp_init (int maxevents, int *maxclients)
182 ASSERT (maxevents >= 1);
186 mtcp->maxevents = maxevents + extra_events;
187 mtcp->es = event_set_init (&mtcp->maxevents, 0);
189 ALLOC_ARRAY (mtcp->esr, struct event_set_return, mtcp->maxevents);
190 *maxclients = max_int (min_int (mtcp->maxevents - extra_events, *maxclients), 1);
191 msg (D_MULTI_LOW, "MULTI: TCP INIT maxclients=%d maxevents=%d", *maxclients, mtcp->maxevents);
248 status = event_wait (mtcp->es, &c->c2.timeval, mtcp->esr, mtcp->maxevents);