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 /* base initializers, may only use g_mutex_new(), g_cond_new() */
30 void _g_mem_thread_init_noprivate_nomessage (void) G_GNUC_INTERNAL;
31 /* initializers that may also use g_private_new() */
32 void _g_slice_thread_init_nomessage (void) G_GNUC_INTERNAL;
33 void _g_messages_thread_init_nomessage (void) G_GNUC_INTERNAL;
35 /* full fledged initializersa */
36 void _g_convert_thread_init (void) G_GNUC_INTERNAL;
37 void _g_rand_thread_init (void) G_GNUC_INTERNAL;
38 void _g_main_thread_init (void) G_GNUC_INTERNAL;
39 void _g_atomic_thread_init (void) G_GNUC_INTERNAL;
40 void _g_utils_thread_init (void) G_GNUC_INTERNAL;
42 void _g_win32_thread_init (void) G_GNUC_INTERNAL;
47 #endif /* __G_THREADINIT_H__ */