GFileMonitor: thread-safety fix for non-default-main-context monitors
authorDan Winship <danw@gnome.org>
Fri, 5 Oct 2012 13:32:24 +0000 (09:32 -0400)
committerDan Winship <danw@gnome.org>
Sat, 6 Oct 2012 14:40:53 +0000 (10:40 -0400)
commit7e6fa556ec2c98db583baa29870530bf67d45c7c
tree6ebc66328861e1b1160118d613d1aa70d896ce27
parent05461e5709f81a98547c70c07a48af783e4fd54e
GFileMonitor: thread-safety fix for non-default-main-context monitors

When queuing events to another thread, we need a mutex around
priv->pending_file_changes and priv->pending_file_change_source.

https://bugzilla.gnome.org/show_bug.cgi?id=682950
gio/gfilemonitor.c