mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-29 19:10:03 +01:00
tests: Fix use of deprecated threading API in performance-threaded
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
6b8240f061
commit
6747702d77
@ -301,7 +301,7 @@ run_test (const PerformanceTest *test)
|
||||
|
||||
threads = g_new (GThread *, n_threads);
|
||||
for (i = 0; i < n_threads; i++) {
|
||||
threads[i] = g_thread_create (run_test_thread, (gpointer) test, TRUE, NULL);
|
||||
threads[i] = g_thread_new (NULL, run_test_thread, (gpointer) test);
|
||||
g_assert (threads[i] != NULL);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user