Searched refs:alloc_barrier (Results 1 – 3 of 3) sorted by relevance
/third_party/musl/libc-test/src/functional/ |
D | test-mallinfo.c | 77 pthread_barrier_t alloc_barrier, free_barrier; in test_different_threads() local 78 if (pthread_barrier_init(&alloc_barrier, NULL, SIZES_COUNT + 1)) { in test_different_threads() 87 thread_data[i] = (thread_data_t) {sizes[i], &alloc_barrier, &free_barrier, 0}; in test_different_threads() 93 pthread_barrier_wait(&alloc_barrier); in test_different_threads()
|
D | test-malloc-info-stats-print.h | 103 pthread_barrier_t alloc_barrier, free_barrier; in get_different_threads_test_results() local 104 if (pthread_barrier_init(&alloc_barrier, NULL, SIZES_COUNT + 1)) { in get_different_threads_test_results() 113 thread_data[i] = (thread_data_t) {sizes[i], &alloc_barrier, &free_barrier, 0}; in get_different_threads_test_results() 119 pthread_barrier_wait(&alloc_barrier); in get_different_threads_test_results()
|
D | test-malloc-stats-common.h | 55 pthread_barrier_t *alloc_barrier; member 125 pthread_barrier_wait(thread_data->alloc_barrier); in allocate_wait_free()
|