Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: dev-tech-nspr Digest, Vol 39, Issue 8

0 views
Skip to first unread message

Andy Gocke

unread,
Jun 14, 2009, 5:08:42 PM6/14/09
to dev-te...@lists.mozilla.org

On Jun 14, 2009, at 2:00 PM, dev-tech-n...@lists.mozilla.org
wrote:

> The specification for PR_Poll https://developer.mozilla.org/en/PR_Poll
> says that the fd member of the PRPollDesc structure "can be set to
> NULL
> to indicate to PR_Poll that this PRFileDesc object should be ignored."
> This is exactly analogous to Unix's poll() function, whose pollfd
> structure
> also has a member named fd. According to the poll.html web page cited
> above, "If the value of fd is less than 0, events shall be ignored,
> and
> revents shall be set to 0 in that entry on return from poll()." So,
> both
> poll() and PR_Poll() provide a way to "ignore" structures in the
> array.

I somehow missed this on my first way through - thank you, I will do
just that.

Andy Gocke

0 new messages