[glib/wip/mutexes] More header cosmetics
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/mutexes] More header cosmetics
- Date: Mon, 19 Sep 2011 11:17:04 +0000 (UTC)
commit bcb9bd70cbfe1bc85b8efce47e297e867cba6548
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Sep 19 07:16:30 2011 -0400
More header cosmetics
glib/gthread.h | 36 ++++++++++++++++++------------------
1 files changed, 18 insertions(+), 18 deletions(-)
---
diff --git a/glib/gthread.h b/glib/gthread.h
index 4744cc6..cdbaf50 100644
--- a/glib/gthread.h
+++ b/glib/gthread.h
@@ -110,21 +110,24 @@ GMutex* g_static_mutex_get_mutex_impl (GMutex **mutex);
#define g_thread_supported() (g_threads_got_initialized)
#endif
-GThread * g_thread_create (GThreadFunc func,
- gpointer data,
- gboolean joinable,
- GError **error);
-
-GThread * g_thread_create_with_stack_size (GThreadFunc func,
- gpointer data,
- gboolean joinable,
- gsize stack_size,
- GError **error);
-
-GThread* g_thread_self (void);
-void g_thread_exit (gpointer retval);
-gpointer g_thread_join (GThread *thread);
-void g_thread_yield (void);
+GThread *g_thread_create (GThreadFunc func,
+ gpointer data,
+ gboolean joinable,
+ GError **error);
+
+GThread *g_thread_create_with_stack_size (GThreadFunc func,
+ gpointer data,
+ gboolean joinable,
+ gsize stack_size,
+ GError **error);
+
+GThread* g_thread_self (void);
+void g_thread_exit (gpointer retval);
+gpointer g_thread_join (GThread *thread);
+void g_thread_yield (void);
+
+void g_thread_foreach (GFunc thread_func,
+ gpointer user_data);
#ifdef G_OS_WIN32
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_free (GStaticRWLock* lock);
-void g_thread_foreach (GFunc thread_func,
- gpointer user_data);
-
typedef enum
{
G_ONCE_STATUS_NOTCALLED,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]