Home
last modified time | relevance | path

Searched refs:sync_data (Results 1 – 1 of 1) sorted by relevance

/system/core/libsync/
Dsync_test.c37 struct sync_thread_data *sync_data = data; in sync_thread() local
43 err = sync_wait(sync_data->fd[i], 10000); in sync_thread()
47 printf("thread %d wait %d failed: %s\n", sync_data->thread_no, in sync_thread()
50 printf("thread %d wait %d done\n", sync_data->thread_no, i); in sync_thread()
52 info = sync_fence_info(sync_data->fd[i]); in sync_thread()
78 struct sync_thread_data sync_data[4]; in main() local
91 sync_data[i].thread_no = i; in main()
101 sync_data[i].fd[j] = fd; in main()
107 sync_data[3].thread_no = 3; in main()
110 sync_data[3].fd[j] = sync_merge(str, sync_data[0].fd[j], sync_data[1].fd[j]); in main()
[all …]