glib/gio/kqueue
Steven McDonald e305fe971e gio: Always purge kqueue subs from missing list
Previously, _kh_cancel_sub assumed that it only needed to call
_km_remove if sub did not exist in subs_hash_table. This is erroneous
because the complementary operation, _km_add_missing, can be called
from process_kqueue_notifications, in which context sub can *only* have
come from subs_hash_table.

Since _km_remove is implemented using g_slist_remove, which is
documented to be a noop if the list does not contain the element to be
removed, it is safe to call _km_remove unconditionally here.

https://bugzilla.gnome.org/show_bug.cgi?id=778515
2017-03-09 17:38:55 +00:00
..
dep-list.c Use 'dumb quotes' rather than `really dumb quotes' 2013-05-21 11:23:22 -03:00
dep-list.h GFileMonitor: Add kqueue(3) support to GIO 2012-11-15 08:13:30 +01:00
gkqueuefilemonitor.c kqueue: add a bit of extra paranoia on cancel 2015-06-05 14:55:01 -04:00
gkqueuefilemonitor.h kqueue backend: port to new GLocalFileMonitor API 2015-03-20 12:01:35 -04:00
kqueue-exclusions.c docs: fix up docs issues in gio/ 2015-02-05 16:20:43 +01:00
kqueue-exclusions.h GFileMonitor: Add kqueue(3) support to GIO 2012-11-15 08:13:30 +01:00
kqueue-helper.c gio: Always purge kqueue subs from missing list 2017-03-09 17:38:55 +00:00
kqueue-helper.h kqueue backend: port to new GLocalFileMonitor API 2015-03-20 12:01:35 -04:00
kqueue-missing.c kqueue: fix a potential deadlock 2013-12-26 19:57:44 +01:00
kqueue-missing.h GFileMonitor: Add kqueue(3) support to GIO 2012-11-15 08:13:30 +01:00
kqueue-sub.c GFileMonitor: Add kqueue(3) support to GIO 2012-11-15 08:13:30 +01:00
kqueue-sub.h GFileMonitor: Add kqueue(3) support to GIO 2012-11-15 08:13:30 +01:00
kqueue-thread.c docs: Fix broken gtk-doc formatting 2014-08-18 14:08:41 +02:00
kqueue-thread.h GFileMonitor: Add kqueue(3) support to GIO 2012-11-15 08:13:30 +01:00
kqueue-utils.c kqueue backend: port to new GLocalFileMonitor API 2015-03-20 12:01:35 -04:00
kqueue-utils.h kqueue backend: port to new GLocalFileMonitor API 2015-03-20 12:01:35 -04:00
Makefile.am kqueue backend: port to new GLocalFileMonitor API 2015-03-20 12:01:35 -04:00