Re: [OMPI devel] openib btl_openib_async_thread poll question

2010-12-21 Thread Shamis, Pavel
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 reven

Re: [OMPI devel] openib btl_openib_async_thread poll question

2010-12-21 Thread Terry Dontje
After further inspection I saw that events is being set to POLLIN only. Is that suppose to mask out any other bits from being set (like POLLRDNORM)? --td On 12/21/2010 10:35 AM, Terry Dontje wrote: We're doing some testing with openib btl on a system with Solaris. It looks like Solaris can r

[OMPI devel] openib btl_openib_async_thread poll question

2010-12-21 Thread Terry Dontje
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 fo