Neil Conway wrote:
pollset_wakeup shouldn't exist imo, its place is in something like the
apr_events_* api that was proposed and never adopted at one point, but
it was added anyways because of a use case needed by tomcat nc (?)
I agree that a higher-level events API would be useful, but in
Neil Conway wrote:
Attached is a patch against trunk that updates the documentation for
apr_poll to describe this behavior. I also fixed a few minor doxygen
issues along the way.
Committed to trunk and v1.4.
Regards,
Graham
--
Another minor point on a related subject: the documentation for
pollcb_create() states that the size parameter controls The maximum
number of descriptors that a single _poll can return. This isn't true
for the poll(2) pollcb method, however: _add() returns APR_ENOMEM if
the number of active
(1) The documentation for apr_pollset_create() states that the size
parameter controls The maximum number of descriptors that this
pollset can hold. However, ancient history like
http://www.mail-archive.com/dev@apr.apache.org/msg12876.html suggests
that size now just controls the # of events that
On Tue, Jan 5, 2010 at 12:16 AM, Neil Conway n...@cs.berkeley.edu wrote:
(1) The documentation for apr_pollset_create() states that the size
parameter controls The maximum number of descriptors that this
pollset can hold. However, ancient history like
On Tue, Jan 5, 2010 at 12:49 AM, Paul Querna p...@querna.org wrote:
On Tue, Jan 5, 2010 at 12:16 AM, Neil Conway n...@cs.berkeley.edu wrote:
From glancing at the code, it seems that the select provider has a
fixed limit on the pollset size, but kqueue, epoll and event port do
not, for example.
Can anyone give me a response?
Any kind of response.
Please help me.
Thanks, regards
--Marco
Original Message
Subject:2 questions about apr_poll
Date: Mon, 02 Feb 2004 09:29:20 +0100
From: Marco Spinetti [EMAIL PROTECTED]
To: dev-apr dev@apr.apache.org
Hi all,
I
Marco Spinetti wrote:
Can anyone give me a response?
Any kind of response.
Please help me.
Thanks, regards
--Marco
I don't think anyone has actually tried to use the pollset API to implement anything useful (I'd be happy to
hear othereise). I know a few of us are interested in doing some event
Hi all,
I developed a library which let you connect to N sources, writes a
request and reads the responce, using apr_poll.
I have 2 questions about 2 problems I'm trying to solve.
The first is a design question: in my method I open N sockets, set the
option APR_SO_NONBLOCK and timeout X