ev->ev_pri = current_base->nactivequeues/2;
event_set(struct event *ev, int fd, short events,	  void (*callback)(int, short, void *), void *arg){	ev->ev_callback = callback;	ev->ev_arg = arg;#ifdef WIN32	ev->ev_fd = (HANDLE)fd;	ev->overlap.hEvent = ev;#else	ev->ev_fd = fd;#endif	ev->ev_events = events;	ev->ev_flags = EVLIST_INIT;	ev->ev_ncalls = 0;	ev->ev_pncalls = NULL;}