apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Damir Dezeljin <program...@mbss.org>
Subject Re: pollset_poll() on OS400
Date Wed, 16 Mar 2005 12:43:11 GMT
Hi.


I found out that apr_pollset_poll() returns an APR_POLLOUT (0x004) event
even if I didn't request it. Any hint why this is happening?


A snip from my code:
----
apr_pollfd_t    sock_pollfd;
...
sock_pollfd.desc_type   = APR_POLL_SOCKET;
sock_pollfd.reqevents   = APR_POLLIN | APR_POLLERR |APR_POLLHUP;
sock_pollfd.desc.s      = conn_p;
sock_pollfd.client_data = conn_p;
...
arv = apr_pollset_poll(
    pollset_p,
    -1,
    &actPollFdNo,
    (const apr_pollfd_t **) &actPollFd_p);
APR_CHECK_ERR(arv);
....
----

Best regards,
Dezo


Mime
View raw message