qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Stitcher <astitc...@redhat.com>
Subject Re: [Qpid Dispatcher] Runtime behavior on SunOS
Date Tue, 19 Apr 2016 17:25:43 GMT
On Tue, 2016-04-19 at 09:37 -0700, Adel Boutros wrote:
> ...
> Checking the man of poll, a positive value of revents indicated there
> are
> events to read on the pipe whereas a 0 value indicates nothing to
> read.

This is not exactly correct. revents is a set of flag bits:

If it is non zero then it tells you that something is interesting about
the fd the pollfd refers to.

This can be readable - POLLIN; writeable - POLLOUT; errored - POLLERR;
other end closed - POLLHUP; illegal fd - POLLNVAL. As these are flags
the actual value could be some combination of them too.

It might be useful to tell us what the actual flags value you are
seeing on revents actually is.

Andrew


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Mime
View raw message