mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
Remove a bunch of lingering g_thread_init()
After this patch, there is but one remaining use of g_thread_init(), which is in tests/slice-threadinit.c, a testcase dedicated to testing the functionality of gslice across a g_thread_init() boundary. This testcase is pretty meaningless these days... probably we should delete it.
This commit is contained in:
@@ -357,9 +357,6 @@ main (int argc,
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (n_threads)
|
||||
g_thread_init (NULL);
|
||||
|
||||
if (argc > 1)
|
||||
{
|
||||
for (i = 1; i < argc; i++)
|
||||
|
Reference in New Issue
Block a user