Lines Matching refs:poll
47 #include <sys/poll.h>
65 APPL_TRACE_DEBUG("print poll event:%x", events); \
81 /*cmd executes in socket poll thread */
97 int psi[MAX_POLL]; //index of poll slot
298 //must executed in socket poll thread
306 APPL_TRACE_DEBUG("THREAD_ADD_FD_SYNC is not called in poll thread, fallback to async");
413 APPL_TRACE_ERROR("poll socket type should not changed! type was:%d, type now:%d", ps->type, type);
445 APPL_TRACE_ERROR("exceeded max poll slot:%d!", MAX_POLL);
460 //update the poll events mask
541 APPL_TRACE_ERROR("exceed max poll range, ps_i:%d, MAX_POLL:%d, count:%d, ts[h].poll_count:%d",
563 int ret = poll(pfds, ts[h].poll_count, -1);
566 APPL_TRACE_ERROR("poll ret -1, exit the thread, errno:%d, err:%s", errno, strerror(errno));
590 APPL_TRACE_DEBUG("socket poll thread exiting, h:%d", h);