X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=glib%2Fgthreadprivate.h;h=198b29a6ecb6952d33484ca9713f982802b8ed75;hb=7e3d32b7053b47ca7feecf185abac96b619770c2;hp=71600e2ad51be385455b862cea914c8aea4bdeec;hpb=d904612100120d12126f1a6623a106d8a5b02fa6;p=platform%2Fupstream%2Fglib.git diff --git a/glib/gthreadprivate.h b/glib/gthreadprivate.h index 71600e2..198b29a 100644 --- a/glib/gthreadprivate.h +++ b/glib/gthreadprivate.h @@ -16,8 +16,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with the Gnome Library; see the file COPYING.LIB. If not, - * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * see . */ #ifndef __G_THREADPRIVATE_H__ @@ -25,15 +24,6 @@ #include "deprecated/gthread.h" -struct _GThread -{ - /*< private >*/ - GThreadFunc func; - gpointer data; - gboolean joinable; - GThreadPriority priority; -}; - typedef struct _GRealThread GRealThread; struct _GRealThread { @@ -41,29 +31,23 @@ struct _GRealThread gint ref_count; gboolean ours; - const gchar *name; + gchar *name; gpointer retval; }; /* system thread implementation (gthread-posix.c, gthread-win32.c) */ -G_GNUC_INTERNAL void g_system_thread_wait (GRealThread *thread); -G_GNUC_INTERNAL GRealThread * g_system_thread_new (GThreadFunc func, gulong stack_size, GError **error); -G_GNUC_INTERNAL void g_system_thread_free (GRealThread *thread); -G_GNUC_INTERNAL void g_system_thread_exit (void); -G_GNUC_INTERNAL void g_system_thread_set_name (const gchar *name); /* gthread.c */ -G_GNUC_INTERNAL GThread * g_thread_new_internal (const gchar *name, GThreadFunc proxy, GThreadFunc func, @@ -71,7 +55,6 @@ GThread * g_thread_new_internal (const gchar *name, gsize stack_size, GError **error); -G_GNUC_INTERNAL gpointer g_thread_proxy (gpointer thread); #endif /* __G_THREADPRIVATE_H__ */