mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-30 20:33:08 +02:00
remove 'joinable' parameter to backends
Both backends are now oblivious to the concept of joinability, so don't bother passing the parameter.
This commit is contained in:
parent
dbf20d585f
commit
becb4b820f
@ -1094,7 +1094,6 @@ g_system_thread_free (GRealThread *thread)
|
|||||||
GRealThread *
|
GRealThread *
|
||||||
g_system_thread_new (GThreadFunc thread_func,
|
g_system_thread_new (GThreadFunc thread_func,
|
||||||
gulong stack_size,
|
gulong stack_size,
|
||||||
gboolean joinable,
|
|
||||||
GError **error)
|
GError **error)
|
||||||
{
|
{
|
||||||
GThreadPosix *thread;
|
GThreadPosix *thread;
|
||||||
|
@ -492,7 +492,6 @@ g_thread_win32_proxy (gpointer data)
|
|||||||
GRealThread *
|
GRealThread *
|
||||||
g_system_thread_new (GThreadFunc func,
|
g_system_thread_new (GThreadFunc func,
|
||||||
gulong stack_size,
|
gulong stack_size,
|
||||||
gboolean joinable,
|
|
||||||
GError **error)
|
GError **error)
|
||||||
{
|
{
|
||||||
GThreadWin32 *thread;
|
GThreadWin32 *thread;
|
||||||
|
@ -809,7 +809,7 @@ g_thread_new_internal (const gchar *name,
|
|||||||
g_return_val_if_fail (func != NULL, NULL);
|
g_return_val_if_fail (func != NULL, NULL);
|
||||||
|
|
||||||
G_LOCK (g_thread_new);
|
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)
|
if (thread)
|
||||||
{
|
{
|
||||||
thread->ours = TRUE;
|
thread->ours = TRUE;
|
||||||
|
@ -37,7 +37,6 @@ void g_system_thread_wait (GRealThread *thread);
|
|||||||
G_GNUC_INTERNAL
|
G_GNUC_INTERNAL
|
||||||
GRealThread * g_system_thread_new (GThreadFunc func,
|
GRealThread * g_system_thread_new (GThreadFunc func,
|
||||||
gulong stack_size,
|
gulong stack_size,
|
||||||
gboolean joinable,
|
|
||||||
GError **error);
|
GError **error);
|
||||||
G_GNUC_INTERNAL
|
G_GNUC_INTERNAL
|
||||||
void g_system_thread_free (GRealThread *thread);
|
void g_system_thread_free (GRealThread *thread);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user