Lines Matching refs:events

1892  * set in the sets has events. On return, readset, writeset and exceptset have
1893 * the sockets enabled that had events.
1896 * @param readset_in set of sockets to check for read events
1897 * @param writeset_in set of sockets to check for write events
1898 * @param exceptset_in set of sockets to check for error events
1899 * @param readset_out set of sockets that had read events
1900 * @param writeset_out set of sockets that had write events
1901 * @param exceptset_out set os sockets that had error events
1902 * @return number of sockets that had events (read/write/exception) (>= 0)
2076 /* If we don't have any current events, then suspend if we are supposed to */
2143 /* Call lwip_selscan again: there could have been events between
2319 if ((fds[fdi].events & POLLIN) != 0 && ((lastdata != NULL) || (rcvevent > 0))) {
2324 if ((fds[fdi].events & POLLOUT) != 0 && (sendevent != 0)) {
2343 /* Will return the number of structures that have events,
2344 not the number of events. */
2421 /* If we don't have any current events, then suspend if we are supposed to */
2454 Also, check for events again: there could have been events between
2475 and check which events occurred while we waited. */
2524 if (has_recvevent && (pollfd->events & POLLIN) != 0) {
2527 if (has_sendevent && (pollfd->events & POLLOUT) != 0) {
2546 * must have the core lock held when signaling the following events
2569 * will use the data later. Note that only receive events
2626 /* Save which events are active */
2642 * Check if any select waiters are waiting on this socket and its events