gtype: Add private DEFINE_TYPE with prelude to workaround gtype deadlocks

Desktop / GNOME / GLib - Colin Walters [verbum.org] - 14 June 2017 14:45 EDT

And use it in GSocket, as it had a real-world case reported.

https://bugzilla.gnome.org/show_bug.cgi?id=674885

017f78d gtype: Add private DEFINE_TYPE with prelude to workaround gtype deadlocks
gio/gsocket.c | 24 +++++++++++++++++-------
gobject/gtype-private.h | 11 +++++++++++
gobject/gtype.h | 16 ++++++++++++++--
3 files changed, 42 insertions(+), 9 deletions(-)

Upstream: git.gnome.org


  • Share