Lines Matching refs:eventlist
234 struct event* eventlist[WSK_MAX_ITEMS]; in handle_select() local
259 eventlist[numwait] = base->items[i]; in handle_select()
304 eventlist[i]->just_checked = 1; in handle_select()
310 if(eventlist[i]->is_signal) { in handle_select()
311 eventlist[i]->just_checked = 0; in handle_select()
312 handle_signal(eventlist[i]); in handle_select()
327 if(!eventlist[i]->just_checked) in handle_select()
329 if(eventlist[i]->is_signal) in handle_select()
331 eventlist[i]->just_checked = 0; in handle_select()
333 if(WSAEnumNetworkEvents(eventlist[i]->ev_fd, in handle_select()
373 if(eventlist[i]->is_tcp && eventlist[i]->stick_events) { in handle_select()
375 eventlist[i]->ev_fd, in handle_select()
376 (eventlist[i]->old_events&EV_READ)?"EV_READ":"", in handle_select()
377 (eventlist[i]->old_events&EV_WRITE)?"EV_WRITE":""); in handle_select()
378 bits |= eventlist[i]->old_events; in handle_select()
380 if(eventlist[i]->is_tcp && bits) { in handle_select()
381 eventlist[i]->old_events = bits; in handle_select()
382 eventlist[i]->stick_events = 1; in handle_select()
383 if((eventlist[i]->ev_events & bits)) { in handle_select()
387 eventlist[i]->ev_fd, in handle_select()
388 (eventlist[i]->old_events&EV_READ)?"EV_READ":"", in handle_select()
389 (eventlist[i]->old_events&EV_WRITE)?"EV_WRITE":""); in handle_select()
391 if((bits & eventlist[i]->ev_events)) { in handle_select()
394 eventlist[i], eventlist[i]->ev_fd, in handle_select()
407 eventlist[i]->ev_callback)); in handle_select()
408 (*eventlist[i]->ev_callback)(eventlist[i]->ev_fd, in handle_select()
409 bits & eventlist[i]->ev_events, in handle_select()
410 eventlist[i]->ev_arg); in handle_select()
412 if(eventlist[i]->is_tcp && bits) in handle_select()
414 eventlist[i]->ev_fd, in handle_select()
415 (eventlist[i]->old_events&EV_READ)?"EV_READ":"", in handle_select()
416 (eventlist[i]->old_events&EV_WRITE)?"EV_WRITE":""); in handle_select()