glib/docs/reference/gio
David Zeuthen 11e01802ab gdbus-codegen: Ensure that generated skeletons are MT-safe
For example, if setting a property on a skeleton from another thread
than where it was constructed, the idle handler responsible for
emitting the PropertiesChanged() signal could run immediately and
clear skeleton->priv->changed_properties_idle_source causing
g_source_unref() to be called with a NULL pointer. This race was
easily be fixed by adding a lock to the skeleton object.

In addition to fixing this race, also move the code for setting up the
idle handler to a class handler for the GObject::notify signal. This
change allows use of g_object_freeze_notify() and g_object_thaw_notify()
to perform atomic property changes from another thread than the one
that the skeleton was created in.

Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-05-15 12:38:24 -04:00
..
.gitignore .gitignore updates for gsettings stuff 2010-04-27 17:04:57 -04:00
gdbus-codegen.xml gdbus-codegen: Ensure that generated skeletons are MT-safe 2011-05-15 12:38:24 -04:00
gdbus.xml gdbus: Add a --timeout option 2011-05-06 15:27:52 -04:00
gio-docs.xml GDBus: Use Skeleton instead of Stub 2011-04-13 16:33:51 -04:00
gio-querymodules.xml Add a man page for gio-querymodules 2010-04-18 15:54:54 -04:00
gio-sections.txt Add g_dbus_method_invocation_take_error() convenience method 2011-05-11 20:57:54 -04:00
gio.types gdbus-codegen: Generate GDBusObject{,Proxy,Skeleton} subtypes 2011-04-25 09:29:18 -04:00
glib-compile-schemas.xml Document which files glib-compile-schemas looks at 2011-03-15 11:30:38 -04:00
gsettings.xml gsettings-tool fixes: Add missing _apply(), add unset-recursively to man page 2011-04-12 12:56:33 -04:00
gvfs-overview.odg update the overview image of the gio docs 2009-06-08 17:29:22 +02:00
gvfs-overview.png update the overview image of the gio docs 2009-06-08 17:29:22 +02:00
Makefile.am gdbus-codegen: Include docs for generated code in the GIO docs 2011-04-23 17:43:03 -04:00
migrating-gconf.xml gsettings: Update documentation on schema naming convention 2011-01-17 17:31:14 -05:00
migrating-gdbus.xml Update docs to take comments/suggestions from Matthias into account 2011-04-29 13:11:22 -04:00
migrating-gnome-vfs.xml Add a migration chapter for dbus bits 2010-05-06 17:58:29 -04:00
migrating-posix.xml Remove duplicate copies of migration docs 2010-05-27 13:07:54 -04:00
overview.xml Document the GIO_USE_TLS environment variable 2010-12-13 09:19:35 -05:00
version.xml.in gio/ docs/reference/gio Merged gio-standalone into glib. 2007-11-26 16:13:05 +00:00