Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/sync/
Dsync_stress_consumer.c61 } test_data_mpsc; variable
67 int *producer_timelines = test_data_mpsc.producer_timelines; in mpsc_producer_thread()
68 int consumer_timeline = test_data_mpsc.consumer_timeline; in mpsc_producer_thread()
69 int iterations = test_data_mpsc.iterations; in mpsc_producer_thread()
93 pthread_mutex_lock(&test_data_mpsc.lock); in mpsc_producer_thread()
94 test_data_mpsc.counter++; in mpsc_producer_thread()
95 pthread_mutex_unlock(&test_data_mpsc.lock); in mpsc_producer_thread()
109 int *producer_timelines = test_data_mpsc.producer_timelines; in mpcs_consumer_thread()
110 int consumer_timeline = test_data_mpsc.consumer_timeline; in mpcs_consumer_thread()
111 int iterations = test_data_mpsc.iterations; in mpcs_consumer_thread()
[all …]