mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 19:36:18 +01:00
thread: reduce use of system_thread
The use of system_thread is now limited to joining. We don't do that for threads that we didn't create for ourselves, so we don't need to call g_system_thread_self() to fill in system_thread for those.
This commit is contained in:
parent
b7f0506371
commit
a90a4b967f
@ -928,8 +928,6 @@ g_thread_self (void)
|
||||
thread->thread.func = NULL;
|
||||
thread->thread.data = NULL;
|
||||
|
||||
g_system_thread_self (&thread->system_thread);
|
||||
|
||||
g_private_set (&g_thread_specific_private, thread);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user