Searched refs:threads (Results 1 – 5 of 5) sorted by relevance
/malloc/ |
A D | tst-malloc-thread-exit.c | 74 pthread_t *threads = xcalloc (sizeof (*threads), inner_thread_count); in outer_thread() local 86 threads[i] = xpthread_create (NULL, func, &barrier); in outer_thread() 90 xpthread_join (threads[i]); in outer_thread() 94 free (threads); in outer_thread() 117 pthread_t *threads = xcalloc (sizeof (*threads), outer_thread_count); in do_test() local 119 threads[i] = xpthread_create (NULL, outer_thread, NULL); in do_test() 131 xpthread_join (threads[i]); in do_test() 132 free (threads); in do_test()
|
A D | tst-malloc_info.c | 83 pthread_t threads[thread_count]; in do_test() local 84 for (size_t i = 0; i < array_length (threads); ++i) in do_test() 85 threads[i] = xpthread_create (NULL, allocation_thread_function, NULL); in do_test() 92 for (size_t i = 0; i < array_length (threads); ++i) in do_test() 93 xpthread_join (threads[i]); in do_test()
|
A D | tst-malloc-tcache-leak.c | 70 int threads = 100000; in do_test() local 87 for (int loop = 0; loop < threads; loop++) in do_test() 109 if (info_after.uordblks > (info_before.uordblks + threads)) in do_test()
|
A D | tst-malloc-fork-deadlock.c | 117 create_threads (pthread_t *threads, size_t count, void *(*func) (void *)) in create_threads() argument 120 threads[i] = xpthread_create (NULL, func, NULL); in create_threads() 124 join_threads (pthread_t *threads, size_t count) in join_threads() argument 127 xpthread_join (threads[i]); in join_threads()
|
A D | tst-malloc-thread-fail.c | 245 pthread_t threads[thread_count]; in run_one() local 249 int ret = pthread_create (threads + i, &small_stack, allocate_thread, NULL); in run_one() 263 int ret = pthread_join (threads[i], NULL); in run_one()
|
Completed in 14 milliseconds