More header cosmetics

This commit is contained in:
Matthias Clasen 2011-09-19 07:16:30 -04:00 committed by Ryan Lortie
parent c291259c65
commit 7d859fb67f

View File

@ -110,21 +110,24 @@ GMutex* g_static_mutex_get_mutex_impl (GMutex **mutex);
#define g_thread_supported() (g_threads_got_initialized) #define g_thread_supported() (g_threads_got_initialized)
#endif #endif
GThread * g_thread_create (GThreadFunc func, GThread *g_thread_create (GThreadFunc func,
gpointer data, gpointer data,
gboolean joinable, gboolean joinable,
GError **error); GError **error);
GThread * g_thread_create_with_stack_size (GThreadFunc func, GThread *g_thread_create_with_stack_size (GThreadFunc func,
gpointer data, gpointer data,
gboolean joinable, gboolean joinable,
gsize stack_size, gsize stack_size,
GError **error); GError **error);
GThread* g_thread_self (void); GThread* g_thread_self (void);
void g_thread_exit (gpointer retval); void g_thread_exit (gpointer retval);
gpointer g_thread_join (GThread *thread); gpointer g_thread_join (GThread *thread);
void g_thread_yield (void); void g_thread_yield (void);
void g_thread_foreach (GFunc thread_func,
gpointer user_data);
#ifdef G_OS_WIN32 #ifdef G_OS_WIN32
typedef GMutex * GStaticMutex; typedef GMutex * GStaticMutex;
@ -204,9 +207,6 @@ gboolean g_static_rw_lock_writer_trylock (GStaticRWLock* lock);
void g_static_rw_lock_writer_unlock (GStaticRWLock* lock); void g_static_rw_lock_writer_unlock (GStaticRWLock* lock);
void g_static_rw_lock_free (GStaticRWLock* lock); void g_static_rw_lock_free (GStaticRWLock* lock);
void g_thread_foreach (GFunc thread_func,
gpointer user_data);
typedef enum typedef enum
{ {
G_ONCE_STATUS_NOTCALLED, G_ONCE_STATUS_NOTCALLED,