Combine g_sytem_thread_{new,create}()

This commit is contained in:
Ryan Lortie
2011-10-12 22:29:13 -04:00
parent a3f82c847f
commit e14a3746db
4 changed files with 29 additions and 43 deletions

View File

@@ -32,15 +32,13 @@ G_BEGIN_DECLS
typedef struct _GRealThread GRealThread;
G_GNUC_INTERNAL
void g_system_thread_wait (GRealThread *thread);
void g_system_thread_wait (GRealThread *thread);
G_GNUC_INTERNAL
GRealThread * g_system_thread_new (void);
G_GNUC_INTERNAL void g_system_thread_create (GThreadFunc func,
gulong stack_size,
gboolean joinable,
GRealThread *thread,
GError **error);
GRealThread * g_system_thread_new (GThreadFunc func,
gulong stack_size,
gboolean joinable,
GError **error);
G_GNUC_INTERNAL
void g_system_thread_free (GRealThread *thread);