Move GTrashStack out of gutils.[hc]
[platform/upstream/glib.git] / glib / gthread.h
index 5fa3362..fc927da 100644 (file)
@@ -141,14 +141,10 @@ GThread *       g_thread_ref                    (GThread        *thread);
 void            g_thread_unref                  (GThread        *thread);
 GThread *       g_thread_new                    (const gchar    *name,
                                                  GThreadFunc     func,
-                                                 gpointer        data,
-                                                 gboolean        joinable,
-                                                 GError        **error);
-GThread *       g_thread_new_full               (const gchar    *name,
+                                                 gpointer        data);
+GThread *       g_thread_try_new                (const gchar    *name,
                                                  GThreadFunc     func,
                                                  gpointer        data,
-                                                 gboolean        joinable,
-                                                 gsize           stack_size,
                                                  GError        **error);
 GThread *       g_thread_self                   (void);
 void            g_thread_exit                   (gpointer        retval);
@@ -183,12 +179,9 @@ void            g_cond_wait                     (GCond          *cond,
                                                  GMutex         *mutex);
 void            g_cond_signal                   (GCond          *cond);
 void            g_cond_broadcast                (GCond          *cond);
-gboolean        g_cond_timed_wait               (GCond          *cond,
-                                                 GMutex         *mutex,
-                                                 GTimeVal       *timeval);
-gboolean        g_cond_timedwait                (GCond          *cond,
+gboolean        g_cond_wait_until               (GCond          *cond,
                                                  GMutex         *mutex,
-                                                 gint64          abs_time);
+                                                 gint64          end_time);
 
 gpointer        g_private_get                   (GPrivate       *key);
 void            g_private_set                   (GPrivate       *key,