According to man pages, only POLLIN or Errors maybe returned in the specific
case:
The bits returned in revents can include any of those specified in events, or
one of the values POLLERR, POLLHUP, or POLLNVAL. (These three bits are
meaningless
in the events field, and will be set in the
We're doing some testing with openib btl on a system with Solaris. It
looks like Solaris can return POLLIN|POLLRDNORM in revents from a poll
call. I looked at the manpages for Linux and it reads like Linux could
possibly do this too. However the code in btl_openib_async_thread that
checks