On 08 Jan 2010, at 11:51 PM, Neil Conway wrote:
The attached patch against trunk makes the following changes:
* Add apr_pollcb_wakeup(), with similar behavior to
apr_pollset_wakeup(). Along the way, refactor the code for
creating/managing the wakeup pipe to a separate file, wakeup.c
* Add apr_pollcb_method_name(), with similar behavior to
apr_pollset_method_name()
* Add minimal unit tests for apr_pollset_wakeup() and
apr_pollcb_wakeup()
apr_pollcb_wakeup() is supported with all the poll methods supported
by pollcb (kqueue, epoll, poll, and event ports).
Committed to apr-trunk in r899905, will backport to v1.4 after some
other people have given it a look.
Regards,
Graham
--