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:
Ryan Lortie
2013-05-30 00:04:05 -04:00
parent e66abbe2ef
commit 210b1f8b42
8 changed files with 1 additions and 18 deletions

View File

@@ -124,8 +124,6 @@ main (int argc,
g_assert (p == &dummy_value);
p = initializer2();
g_assert (p == &dummy_value);
/* setup threads */
g_thread_init (NULL);
/* start multiple threads for initializer3() */
g_mutex_lock (&tmutex);
for (i = 0; i < N_THREADS; i++)