[Dovecot] [PATCH] Better detection for ioloop and notify
Hi List!
Attached is a patch to configure.in to test that epoll, poll, inotify, kqueue and dnotify actually work. It also attempts to select the best one for you if none specified.
This supercedes my previous patch in the re beta9 thread.
Hopefully get this in Gentoo's beta9 ebuild soon.
Thanks
-- Roy Marples uberlord@gentoo.org Gentoo/Linux Developer (baselayout, networking)
On Thu, 2006-06-15 at 14:52 +0100, Roy Marples wrote:
Hi List!
Attached is a patch to configure.in to test that epoll, poll, inotify, kqueue and dnotify actually work. It also attempts to select the best one for you if none specified.
Does the watch adding to /tmp work also when it's tmpfs (or were there other possibilities also)? I just feel a bit worried that after having those try_compiles changed to try_runs they might not work right because they're tried to run in wrong filesystem.
On Friday 16 June 2006 12:05, Timo Sirainen wrote:
On Thu, 2006-06-15 at 14:52 +0100, Roy Marples wrote:
Hi List!
Attached is a patch to configure.in to test that epoll, poll, inotify, kqueue and dnotify actually work. It also attempts to select the best one for you if none specified.
Does the watch adding to /tmp work also when it's tmpfs (or were there other possibilities also)? I just feel a bit worried that after having those try_compiles changed to try_runs they might not work right because they're tried to run in wrong filesystem.
Works on my amd64 with /tmp mounted as tmpfs.
-- Roy Marples uberlord@gentoo.org Gentoo/Linux Developer (baselayout, networking)
On 2006-06-15 14:52:01 +0100, Roy Marples wrote:
Attached is a patch to configure.in to test that epoll, poll, inotify, kqueue and dnotify actually work. It also attempts to select the best one for you if none specified.
This supercedes my previous patch in the re beta9 thread.
Hopefully get this in Gentoo's beta9 ebuild soon.
the patch broke the fallback to dnotify. send a follow up patch to timo. should be in CVS soon hopefully.
darix
-- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org
participants (3)
-
Marcus Rueckert
-
Roy Marples
-
Timo Sirainen