mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-11-12 13:52:55 +01:00
Don't put threads created with g_thread_new() on the list
This lets us avoid the overhead of maintaining the global list in the non-deprecated case. https://bugzilla.gnome.org/show_bug.cgi?id=660635
This commit is contained in:
@@ -48,6 +48,14 @@ G_GNUC_INTERNAL gboolean g_system_thread_equal (gpointer thread1,
|
||||
G_GNUC_INTERNAL void g_system_thread_exit (void);
|
||||
G_GNUC_INTERNAL void g_system_thread_set_name (const gchar *name);
|
||||
|
||||
G_GNUC_INTERNAL GThread *g_thread_new_internal (const gchar *name,
|
||||
GThreadFunc func,
|
||||
gpointer data,
|
||||
gboolean joinable,
|
||||
gsize stack_size,
|
||||
gboolean enumerable,
|
||||
GError **error);
|
||||
|
||||
G_GNUC_INTERNAL GSystemThread zero_thread;
|
||||
G_GNUC_INTERNAL GMutex g_once_mutex;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user