Lines Matching defs:pfd
245 struct pollfd pfd;
247 pfd.fd = this->fd_read;
248 pfd.events = POLLIN;
249 pfd.revents = 0;
259 if( -1 == poll(&pfd,1,0) )
266 if(pfd.revents & POLLIN)
325 struct pollfd pfd[3];
334 pfd[0].fd = queue1->getInFd();
335 if(!pfd[0].fd)
341 pfd[0].events = POLLIN;
342 pfd[0].revents = 0;
346 pfd[1].fd = queue2->getInFd();
347 if(!pfd[1].fd)
354 pfd[1].events = POLLIN;
355 pfd[1].revents = 0;
362 pfd[2].fd = queue3->getInFd();
363 if(!pfd[2].fd)
370 pfd[2].events = POLLIN;
371 pfd[2].revents = 0;
376 int ret = poll(pfd, n, timeout);
390 if (pfd[0].revents & POLLIN)
397 if (pfd[1].revents & POLLIN)
405 if (pfd[2].revents & POLLIN)