MCPcopy Create free account
hub / github.com/Tencent/libco / stPoll_t

Class stPoll_t

co_routine.cpp:650–664  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

648// { fd,events,revents }
649struct stPollItem_t ;
650struct stPoll_t : public stTimeoutItem_t
651{
652 struct pollfd *fds;
653 nfds_t nfds; // typedef unsigned long int nfds_t;
654
655 stPollItem_t *pPollItems;
656
657 int iAllEventDetach;
658
659 int iEpollFd;
660
661 int iRaiseCnt;
662
663
664};
665struct stPollItem_t : public stTimeoutItem_t
666{
667 struct pollfd *pSelf;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected