glib/gio/kqueue
Ting-Wei Lan 41259ac173 kqueue: Only fallback to polling on /media and /run/media
The check in _ke_is_excluded, which causes GKqueueFileMonitor to
fallback to GPollFileMonitor when it returns TRUE, was made to prevent
file monitor from blocking unmount of removable drives on systems not
supporting O_EVTONLY flag in open. However, since g_mount_can_unmount
always returns TRUE on Unix-like platforms, the check always returns
TRUE on non-standard mount points, which is very likely to cause all
programs on the desktop to use the polling fallback if GNOME is
installed in a different prefix for development. This makes the desktop
sluggish and results in bad developer experience on *BSD.
2018-06-07 00:38:07 +08:00
..
dep-list.c kqueue: Fix typo that breaks the build in previous commit 2018-05-18 10:52:08 -04:00
dep-list.h GFileMonitor: Add kqueue(3) support to GIO 2012-11-15 08:13:30 +01:00
gkqueuefilemonitor.c kqueue: Only fallback to polling on /media and /run/media 2018-06-07 00:38:07 +08:00
kqueue-helper.c kqueue: Multiple fixes and simplifications 2018-03-13 12:23:10 +00:00
kqueue-helper.h kqueue: Multiple fixes and simplifications 2018-03-13 12:23:10 +00:00
kqueue-missing.c kqueue: Multiple fixes and simplifications 2018-03-13 12:23:10 +00:00
Makefile.am kqueue: Multiple fixes and simplifications 2018-03-13 12:23:10 +00:00
meson.build kqueue/meson: add missing dependency 2018-05-03 00:01:50 +01:00