Deprecate GStaticPrivate and g_thread_foreach
authorMatthias Clasen <mclasen@redhat.com>
Sun, 2 Oct 2011 05:29:08 +0000 (01:29 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 3 Oct 2011 02:11:59 +0000 (22:11 -0400)
commit3d4846d92309d001697c2827660fa41b5c63dbc4
treed9895e7efa1cab8f09a33e18f327d9a9d904c743
parent12287c8cc70fc65bc7bbeb4f7079b262337fce09
Deprecate GStaticPrivate and g_thread_foreach

This commit moves GStaticPrivate, g_thread_foreach and all
related functions and variables to gthread-deprecated.c. We
introduce some internal API to make this possible.

g_thread_foreach is not a very useful function, since there is
virtually nothing you can do with a GThread*, and implementing
it requires us to keep a list of threads around.

GStaticPrivate has been made redundant by adding comparable
capabilities to GPrivate.

https://bugzilla.gnome.org/show_bug.cgi?id=660635
glib/deprecated/gthread-deprecated.c
glib/deprecated/gthread.h
glib/gthread.c
glib/gthread.h
glib/gthreadprivate.h