summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2011-09-19 00:45:19 -0400
committerRyan Lortie <desrt@desrt.ca>2011-09-21 16:06:55 -0400
commit14e6377a603abd03a3c9d7130da1c1113cec4d7b (patch)
tree27f5b38bf2624dd4e812d6b834570f9712169087 /tests
parent9621b1093e7b745e6f8184012bc3c18ab1d261b1 (diff)
Deprecate g_thread_create_full()
Replace it with g_thread_create_with_stack_size() and a real function implementation of g_thread_create(). Modify a testcase that was calling g_thread_create_full() inappropriately (it was using the default values anyway).
Diffstat (limited to 'tests')
-rw-r--r--tests/slice-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/slice-test.c b/tests/slice-test.c
index a118ce675..84eb87247 100644
--- a/tests/slice-test.c
+++ b/tests/slice-test.c
@@ -282,12 +282,12 @@ main (int argc,
threads = g_alloca (sizeof(GThread*) * n_threads);
if (!use_memchunks)
for (i = 0; i < n_threads; i++)
- threads[i] = g_thread_create_full (test_sliced_mem_thread, seedp, 0, TRUE, FALSE, 0, NULL);
+ threads[i] = g_thread_create (test_sliced_mem_thread, seedp, TRUE, NULL);
else
{
old_mem_chunks_init();
for (i = 0; i < n_threads; i++)
- threads[i] = g_thread_create_full (test_memchunk_thread, seedp, 0, TRUE, FALSE, 0, NULL);
+ threads[i] = g_thread_create (test_memchunk_thread, seedp, TRUE, NULL);
}
for (i = 0; i < n_threads; i++)
g_thread_join (threads[i]);