apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject Re: Questions about apr_poll
Date Wed, 06 Jan 2010 08:29:05 GMT
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 the
> absence of that, pollcb_wakeup() would be pretty useful: wakeup() + a
> secondary event queue is a reasonable substitute for a general-purpose
> event notification system. IMHO a lot of people will basically need to
> roll this functionality by hand in the absence of a builtin
> pollcb_wakeup().
> If a patch for pollcb_wakeup() would be considered or accepted, I can
> look into writing one.

+1 for a pollcb_wakeup().

Sure, an apr_events API would be an excellent thing to have, but we
don't have it right now, and people have problems they need solved.


View raw message