g_system_thread_create: drop unused args
authorRyan Lortie <desrt@desrt.ca>
Mon, 19 Sep 2011 04:30:30 +0000 (00:30 -0400)
committerRyan Lortie <desrt@desrt.ca>
Wed, 21 Sep 2011 20:06:55 +0000 (16:06 -0400)
The 'bound' and 'priority' arguments are no longer in use, so drop them.

glib/gthread-posix.c
glib/gthread-win32.c
glib/gthread.c
glib/gthreadprivate.h

index e8a4b84..b23a19a 100644 (file)
@@ -497,8 +497,6 @@ g_system_thread_create (GThreadFunc       thread_func,
                         gpointer          arg,
                         gulong            stack_size,
                         gboolean          joinable,
                         gpointer          arg,
                         gulong            stack_size,
                         gboolean          joinable,
-                        gboolean          bound,
-                        GThreadPriority   priority,
                         gpointer          thread,
                         GError          **error)
 {
                         gpointer          thread,
                         GError          **error)
 {
index 2ed1d92..e4636c4 100644 (file)
@@ -411,8 +411,6 @@ g_system_thread_create (GThreadFunc       func,
                         gpointer          data,
                         gulong            stack_size,
                         gboolean          joinable,
                         gpointer          data,
                         gulong            stack_size,
                         gboolean          joinable,
-                        gboolean          bound,
-                        GThreadPriority   priority,
                         gpointer          thread,
                         GError          **error)
 {
                         gpointer          thread,
                         GError          **error)
 {
index 6b79cd2..19dc08e 100644 (file)
@@ -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,
   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)
     {
                           &result->system_thread, &local_error);
   if (!local_error)
     {
index f4d7288..707e571 100644 (file)
@@ -40,8 +40,6 @@ G_GNUC_INTERNAL void     g_system_thread_create (GThreadFunc       func,
                                                  gpointer          data,
                                                  gulong            stack_size,
                                                  gboolean          joinable,
                                                  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,
                                                  gpointer          thread,
                                                  GError          **error);
 G_GNUC_INTERNAL gboolean g_system_thread_equal (gpointer thread1,