[glib/wip/mutexes: 53/58] g_system_thread_create: drop unused args



commit 3bd14e2897ec16bea5140ce4acc2ac079e779dac
Author: Ryan Lortie <desrt desrt ca>
Date:   Mon Sep 19 00:30:30 2011 -0400

    g_system_thread_create: drop unused args
    
    The 'bound' and 'priority' arguments are no longer in use, so drop them.

 glib/gthread-posix.c  |    2 --
 glib/gthread-win32.c  |    2 --
 glib/gthread.c        |    2 +-
 glib/gthreadprivate.h |    2 --
 4 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/glib/gthread-posix.c b/glib/gthread-posix.c
index e8a4b84..b23a19a 100644
--- a/glib/gthread-posix.c
+++ b/glib/gthread-posix.c
@@ -497,8 +497,6 @@ g_system_thread_create (GThreadFunc       thread_func,
                         gpointer          arg,
                         gulong            stack_size,
                         gboolean          joinable,
-                        gboolean          bound,
-                        GThreadPriority   priority,
                         gpointer          thread,
                         GError          **error)
 {
diff --git a/glib/gthread-win32.c b/glib/gthread-win32.c
index 2ed1d92..e4636c4 100644
--- a/glib/gthread-win32.c
+++ b/glib/gthread-win32.c
@@ -411,8 +411,6 @@ g_system_thread_create (GThreadFunc       func,
                         gpointer          data,
                         gulong            stack_size,
                         gboolean          joinable,
-                        gboolean          bound,
-                        GThreadPriority   priority,
                         gpointer          thread,
                         GError          **error)
 {
diff --git a/glib/gthread.c b/glib/gthread.c
index 8ec6991..1b21329 100644
--- a/glib/gthread.c
+++ b/glib/gthread.c
@@ -1729,7 +1729,7 @@ g_thread_create_full (GThreadFunc       func,
   result->private_data = NULL;
   G_LOCK (g_thread);
   g_system_thread_create (g_thread_create_proxy, result,
-                          stack_size, joinable, 0, 0,
+                          stack_size, joinable,
                           &result->system_thread, &local_error);
   if (!local_error)
     {
diff --git a/glib/gthreadprivate.h b/glib/gthreadprivate.h
index f4d7288..707e571 100644
--- a/glib/gthreadprivate.h
+++ b/glib/gthreadprivate.h
@@ -40,8 +40,6 @@ G_GNUC_INTERNAL void     g_system_thread_create (GThreadFunc       func,
                                                  gpointer          data,
                                                  gulong            stack_size,
                                                  gboolean          joinable,
-                                                 gboolean          bound,
-                                                 GThreadPriority   priority,
                                                  gpointer          thread,
                                                  GError          **error);
 G_GNUC_INTERNAL gboolean g_system_thread_equal (gpointer thread1,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]