[glib] remove 'joinable' parameter to backends



commit becb4b820f84badac9eaee4e123c8a0ef41a9ba3
Author: Ryan Lortie <desrt desrt ca>
Date:   Thu Oct 13 00:01:28 2011 -0400

    remove 'joinable' parameter to backends
    
    Both backends are now oblivious to the concept of joinability, so don't
    bother passing the parameter.

 glib/gthread-posix.c  |    1 -
 glib/gthread-win32.c  |    1 -
 glib/gthread.c        |    2 +-
 glib/gthreadprivate.h |    1 -
 4 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/glib/gthread-posix.c b/glib/gthread-posix.c
index a1fdf84..1f9a813 100644
--- a/glib/gthread-posix.c
+++ b/glib/gthread-posix.c
@@ -1094,7 +1094,6 @@ g_system_thread_free (GRealThread *thread)
 GRealThread *
 g_system_thread_new (GThreadFunc   thread_func,
                      gulong        stack_size,
-                     gboolean      joinable,
                      GError      **error)
 {
   GThreadPosix *thread;
diff --git a/glib/gthread-win32.c b/glib/gthread-win32.c
index ad1cebc..5199f9b 100644
--- a/glib/gthread-win32.c
+++ b/glib/gthread-win32.c
@@ -492,7 +492,6 @@ g_thread_win32_proxy (gpointer data)
 GRealThread *
 g_system_thread_new (GThreadFunc   func,
                      gulong        stack_size,
-                     gboolean      joinable,
                      GError      **error)
 {
   GThreadWin32 *thread;
diff --git a/glib/gthread.c b/glib/gthread.c
index 8917db1..210d125 100644
--- a/glib/gthread.c
+++ b/glib/gthread.c
@@ -809,7 +809,7 @@ g_thread_new_internal (const gchar   *name,
   g_return_val_if_fail (func != NULL, NULL);
 
   G_LOCK (g_thread_new);
-  thread = g_system_thread_new (proxy, stack_size, joinable, error);
+  thread = g_system_thread_new (proxy, stack_size, error);
   if (thread)
     {
       thread->ours = TRUE;
diff --git a/glib/gthreadprivate.h b/glib/gthreadprivate.h
index 725da4b..bd634bd 100644
--- a/glib/gthreadprivate.h
+++ b/glib/gthreadprivate.h
@@ -37,7 +37,6 @@ void            g_system_thread_wait            (GRealThread  *thread);
 G_GNUC_INTERNAL
 GRealThread *   g_system_thread_new             (GThreadFunc   func,
                                                  gulong        stack_size,
-                                                 gboolean      joinable,
                                                  GError      **error);
 G_GNUC_INTERNAL
 void            g_system_thread_free            (GRealThread  *thread);



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