search for: ioloop_kqueue

Displaying 3 results from an estimated 3 matches for "ioloop_kqueue".

2005 Dec 14
2
Patch: ioloop using kqueue/kevent for FreeBSD
...pha5, [dovecot@dovecot.org]) AC_CONFIG_SRCDIR([src]) +AC_CANONICAL_BUILD +AC_CANONICAL_HOST +AC_CANONICAL_TARGET + AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE @@ -327,6 +331,15 @@ ]) fi +if test "$ioloop" = "kqueue"; then + AC_CHECK_FUNC(kqueue, [ + AC_DEFINE(IOLOOP_KQUEUE,, [Implement I/O loop with FreeBSD kqueue()]) + have_ioloop=yes + ], [ + ioloop="" + ]) +fi + if test "$ioloop" = "" || test "$ioloop" = "poll"; then AC_CHECK_FUNC(poll, [ AC_DEFINE(IOLOOP_POLL,, Implement I/O loop with poll()) diff...
2004 Oct 25
0
[PATCH] Request for testing: BSD kqueue ioloop handler
...[ AC_DEFINE(IOLOOP_EPOLL,, Implement I/O loop with Linux 2.6 epoll()) have_ioloop=yes + ioloop=epoll + ], [ + ioloop="" + ]) +fi + +if test "$ioloop" = "" || test "$ioloop" = "kqueue"; then + AC_CHECK_FUNC(kqueue, [ + AC_DEFINE(IOLOOP_KQUEUE,, Implement I/O loop with BSD kqueue) + have_ioloop=yes + ioloop=kqueue ], [ ioloop="" ]) diff -urpNX /usr/share/dontdiff dovecot-1.0-test51.vanilla/src/lib/ioloop-kqueue.c dovecot-1.0-test51/src/lib/ioloop-kqueue.c --- dovecot-1.0-test51.vanilla/src/lib/ioloop-kqueue.c 1...
2005 Dec 15
2
Patch: More of kqueue() support.
...ent) + strtoull strtouq setpriority quotactl getmntent kqueue kevent) dnl * I/O loop function have_ioloop=no @@ -329,12 +329,17 @@ if test "$ioloop" = "epoll"; then fi if test "$ioloop" = "kqueue"; then - AC_CHECK_FUNC(kqueue, [ - AC_DEFINE(IOLOOP_KQUEUE,, [Implement I/O loop with FreeBSD kqueue()]) - have_ioloop=yes - ], [ + if test "$ac_cv_func_kqueue" != yes ; then + AC_MSG_WARN([kqueue ioloop requested but kqueue() is not available]) ioloop="" - ]) + elif test "$ac_cv_func_kevent" != yes ; then +...