mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-23 01:18:53 +02:00
thread: nuke the concept of 'joinable'
And remove the 'joinable' argument from g_thread_new() and g_thread_new_full(). Change the wording in the docs. Clarify expectations for (deprecated) g_thread_create().
This commit is contained in:
@@ -4760,7 +4760,7 @@ g_get_worker_context (void)
|
||||
GError *error = NULL;
|
||||
|
||||
glib_worker_context = g_main_context_new ();
|
||||
if (g_thread_new ("gmain", glib_worker_main, NULL, FALSE, &error) == NULL)
|
||||
if (g_thread_new ("gmain", glib_worker_main, NULL, &error) == NULL)
|
||||
g_error ("Creating GLib worker thread failed: %s\n", error->message);
|
||||
|
||||
g_once_init_leave (&initialised, TRUE);
|
||||
|
Reference in New Issue
Block a user