thread: delegate allocation of GThread to backends
authorRyan Lortie <desrt@desrt.ca>
Thu, 13 Oct 2011 02:03:14 +0000 (22:03 -0400)
committerRyan Lortie <desrt@desrt.ca>
Thu, 13 Oct 2011 02:04:39 +0000 (22:04 -0400)
commite064c9bfeca33b59627e7e1ee43d805713fde280
treecf24dcc9a3947a093a37916f8464d5d10756d0da
parent75ea14e885322ea1241315e070b2cdd68645e267
thread: delegate allocation of GThread to backends

Add g_system_thread_new() and g_system_thread_free(), implemented with
GSlice.  Use those instead of g_new() and g_free().

Presently, the backends are both doing the same thing.  This will change
soon.
glib/gthread-posix.c
glib/gthread-win32.c
glib/gthread.c
glib/gthreadprivate.h