Add private glib_get_worker_context() API
authorRyan Lortie <desrt@desrt.ca>
Wed, 31 Aug 2011 22:20:24 +0000 (18:20 -0400)
committerRyan Lortie <desrt@desrt.ca>
Fri, 9 Sep 2011 17:40:50 +0000 (13:40 -0400)
commit1facd36d00fc5fc18fa9d690979f9e73c0f1d312
treecdbfd77df7a388b8b3e9a4df89ee28bb966b45f5
parentb6a2f502f28b112d791c8834b4ff7e5c8aa0fcd5
Add private glib_get_worker_context() API

The first time this is called, this creates a GMainContext * and a
thread to run it.  Future calls return the same.  There are a lot of
places that we could use this in GLib.
glib/Makefile.am
glib/glib.symbols
glib/glibprivate.h [new file with mode: 0644]
glib/gmain.c