Displaying 4 results from an estimated 4 matches for "ioloop_epoll".
2004 Aug 30
0
[PATCH] [RFC] epoll based ioloop handler (now with patch)
...:47.000000000 +0400
@@ -265,10 +265,14 @@ AC_CHECK_FUNCS(fcntl flock lockf inet_at
dnl * poll/select?
-AC_CHECK_FUNC(poll, [
- AC_DEFINE(IOLOOP_POLL,, Implement I/O loop with poll())
-], [
- AC_DEFINE(IOLOOP_SELECT,, Implement I/O loop with select())
+AC_CHECK_FUNC(epoll_create, [
+ AC_DEFINE(IOLOOP_EPOLL,, Implement I/O loop with Linux 2.6 epoll())
+ ], [
+ AC_CHECK_FUNC(poll, [
+ AC_DEFINE(IOLOOP_POLL,, Implement I/O loop with poll())
+ ], [
+ AC_DEFINE(IOLOOP_SELECT,, Implement I/O loop with select())
+ ])
])
dnl * dnotify?
diff -urpNX /usr/share/dontdiff dovecot-cvs.vanilla/src/lib/io...
2005 Aug 30
2
Very minor feature request
Hello,
I'd suggest a way to get to know the "capabilities" of a compiled Dovecot.
The background is that I've run the sequence
./configure --with-ldap && make && make install
twice, all three commands tell me that all is fine (ldap is listed in the
modules), but still dovecot told me that ldap is no Usedb module.
A "make clean" before solved the
2004 Oct 25
0
[PATCH] move iolist functions into separate file
...la/src/lib/ioloop-epoll.c 2004-10-07 23:37:44.000000000 +0400
+++ dovecot-1.0-test51/src/lib/ioloop-epoll.c 2004-10-24 16:42:09.000000000 +0400
@@ -12,6 +12,7 @@
/* @UNSAFE: whole file */
#include "lib.h"
+#include "iolist.h"
#include "ioloop-internal.h"
#ifdef IOLOOP_EPOLL
@@ -21,13 +22,6 @@
#define INITIAL_EPOLL_EVENTS 128
-enum {
- EPOLL_LIST_INPUT,
- EPOLL_LIST_OUTPUT,
-
- EPOLL_IOS_PER_FD
-};
-
struct ioloop_handler_data {
int epfd;
int events_size, events_pos;
@@ -37,10 +31,6 @@ struct ioloop_handler_data {
struct io_list **fd_index;
};
-struct io...
2004 Oct 25
0
[PATCH] Request for testing: BSD kqueue ioloop handler
...-1.0-test51/configure.in
--- dovecot-1.0-test51.vanilla/configure.in 2004-10-21 06:37:24.000000000 +0400
+++ dovecot-1.0-test51/configure.in 2004-10-25 14:06:44.000000000 +0400
@@ -269,6 +269,17 @@ if test "$ioloop" = "epoll"; then
AC_CHECK_FUNC(epoll_create, [
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...