diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-01-12 21:22:45 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-01-12 21:37:29 +0100 |
commit | fa2bced1f30f93443ef43ce8b5b1e437cd07168c (patch) | |
tree | 0d56a5f1fb22dd49f7e973f13833d5e8251dcec0 /gobject/gsourceclosure.c | |
parent | 0df3ca8f9bbb624b219ecdb25d3fe8aa4a51d953 (diff) |
Enable threads in g_type_init()
This means threads will be supported for all gobject libraries/applications
and initialized early enough to not cause any problems.
This solves the problem of libraries needing threadsafety. Previosly
they just called g_threads_init() anyway, which often works but sometimes
breaks in unexpected ways.
See this thread for more details:
http://mail.gnome.org/archives/gtk-devel-list/2009-November/msg00208.html
https://bugzilla.gnome.org/show_bug.cgi?id=606775
Diffstat (limited to 'gobject/gsourceclosure.c')
0 files changed, 0 insertions, 0 deletions