Lines Matching refs:hEvent
206 log_assert(ev->is_signal && ev->hEvent); in handle_signal()
208 ret = WSAWaitForMultipleEvents(1, &ev->hEvent, 0 /* any object */, in handle_signal()
221 if(!WSAResetEvent(ev->hEvent)) in handle_signal()
260 base->waitfor[numwait++] = base->items[i]->hEvent; in handle_select()
539 ev->hEvent = WSACreateEvent(); in event_add()
540 if(ev->hEvent == WSA_INVALID_EVENT) in event_add()
545 if(WSAEventSelect(ev->ev_fd, ev->hEvent, events) != 0) { in event_add()
595 zero_waitfor(ev->ev_base->waitfor, ev->hEvent); in event_del()
597 if(WSAEventSelect(ev->ev_fd, ev->hEvent, 0) != 0) in event_del()
600 if(!WSACloseEvent(ev->hEvent)) in event_del()
670 ev->hEvent = wsaevent; in winsock_register_wsaevent()