selftest: sync: stress consumer/producer test
authorEmilio López <emilio.lopez@collabora.co.uk>
Wed, 19 Oct 2016 12:49:53 +0000 (09:49 -0300)
committerShuah Khan <shuahkh@osg.samsung.com>
Fri, 2 Dec 2016 01:13:25 +0000 (18:13 -0700)
commitc52dee5025d904896198b7090cf7df80a4028363
tree27cc570456745917115a7b7389d8615dea79d82b
parent54b519f32ccd663ca8ee48d43c448271230d3670
selftest: sync: stress consumer/producer test

This test is based on the libsync test suite from Android.
This commit includes a stress test that replicates a
consumer/producer pattern.

Signed-off-by: Emilio López <emilio.lopez@collabora.co.uk>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/sync/Makefile
tools/testing/selftests/sync/sync_stress_consumer.c [new file with mode: 0644]
tools/testing/selftests/sync/sync_test.c
tools/testing/selftests/sync/synctest.h