GFileMonitor: Add kqueue(3) support to GIO
authorAntoine Jacoutot <ajacoutot@gnome.org>
Wed, 14 Nov 2012 11:57:42 +0000 (12:57 +0100)
committerAntoine Jacoutot <ajacoutot@gnome.org>
Thu, 15 Nov 2012 07:13:30 +0000 (08:13 +0100)
commita335fd1de8fc2ab4b26c5fe6055014ea15043fb9
treeeb247ebe4cce15db39b4eb22f61d38d422d8e2fb
parent2054ccad95cfdcf5eccd2ef6847c12039c9678e8
GFileMonitor: Add kqueue(3) support to GIO

Written by Dmitry Matveev as part of GSoC 2011:
http://netbsd-soc.sourceforge.net/projects/kqueue4gio/

This brings native file monitoring support on systems supporting kqueue(3)
(all BSDs) and remove the need to rely on the unmaintained gamin software.
The backend adds GKqueueDirectoryMonitor and GKqueueFileMonitor.

Some parts rewritten by myself (to prevent needing a configuration file).
Helpful inputs from Colin Walters and Simon McVittie.

https://bugzilla.gnome.org/show_bug.cgi?id=679793
22 files changed:
configure.ac
gio/Makefile.am
gio/giomodule.c
gio/kqueue/Makefile.am [new file with mode: 0644]
gio/kqueue/dep-list.c [new file with mode: 0644]
gio/kqueue/dep-list.h [new file with mode: 0644]
gio/kqueue/gkqueuedirectorymonitor.c [new file with mode: 0644]
gio/kqueue/gkqueuedirectorymonitor.h [new file with mode: 0644]
gio/kqueue/gkqueuefilemonitor.c [new file with mode: 0644]
gio/kqueue/gkqueuefilemonitor.h [new file with mode: 0644]
gio/kqueue/kqueue-exclusions.c [new file with mode: 0644]
gio/kqueue/kqueue-exclusions.h [new file with mode: 0644]
gio/kqueue/kqueue-helper.c [new file with mode: 0644]
gio/kqueue/kqueue-helper.h [new file with mode: 0644]
gio/kqueue/kqueue-missing.c [new file with mode: 0644]
gio/kqueue/kqueue-missing.h [new file with mode: 0644]
gio/kqueue/kqueue-sub.c [new file with mode: 0644]
gio/kqueue/kqueue-sub.h [new file with mode: 0644]
gio/kqueue/kqueue-thread.c [new file with mode: 0644]
gio/kqueue/kqueue-thread.h [new file with mode: 0644]
gio/kqueue/kqueue-utils.c [new file with mode: 0644]
gio/kqueue/kqueue-utils.h [new file with mode: 0644]