Skip to content

Commit

Permalink
fix co_poll revent bug
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Oct 18, 2016
1 parent a33ce8f commit 5e0929c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions co_routine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -936,6 +936,7 @@ int co_poll( stCoEpoll_t *ctx,struct pollfd fds[], nfds_t nfds, int timeout )
{
co_epoll_ctl( epfd,EPOLL_CTL_DEL,fd,&arg.pPollItems[i].stEvent );
}
fds[i].revents = arg.fds[i].revents;
}


Expand Down

0 comments on commit 5e0929c

Please sign in to comment.