1 /* gthreadinit.h - GLib internal thread initialization functions
3 * Copyright (C) 2003 Sebastian Wilhelmi
5 * The Gnome Library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public License as
7 * published by the Free Software Foundation; either version 2 of the
8 * License, or (at your option) any later version.
10 * The Gnome Library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with the Gnome Library; see the file COPYING.LIB. If not,
17 * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 * Boston, MA 02111-1307, USA.
21 #ifndef __G_THREADINIT_H__
22 #define __G_THREADINIT_H__
26 /* Is called from gthread/gthread-impl.c */
27 void g_thread_init_glib (void);
29 /* Are called from glib/gthread.c. May not contain g_private_new calls */
30 void _g_mem_thread_init (void) G_GNUC_INTERNAL;
31 void _g_messages_thread_init (void) G_GNUC_INTERNAL;
32 void _g_convert_thread_init (void) G_GNUC_INTERNAL;
33 void _g_rand_thread_init (void) G_GNUC_INTERNAL;
34 void _g_main_thread_init (void) G_GNUC_INTERNAL;
35 void _g_atomic_thread_init (void) G_GNUC_INTERNAL;
36 void _g_utils_thread_init (void) G_GNUC_INTERNAL;
38 void _g_win32_thread_init (void) G_GNUC_INTERNAL;
41 /* Are called from glib/gthread.c. Must only contain g_private_new calls */
42 void _g_mem_thread_private_init (void) G_GNUC_INTERNAL;
43 void _g_messages_thread_private_init (void) G_GNUC_INTERNAL;
47 #endif /* __G_THREADINIT_H__ */