]> git.alsa-project.org Git - alsa-lib.git/commit
test: Add pcm-multi-thread program
authorTakashi Iwai <tiwai@suse.de>
Sat, 2 Jul 2016 08:03:15 +0000 (10:03 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 7 Jul 2016 14:30:54 +0000 (16:30 +0200)
commit147093ac5b8dd1ea81af0f8d9c13278fa2e709e5
treea82f6383c4e9ddff1fde8084f3316f473e5292e9
parent97fce6607778844fed04caaeced68b7e18b8d91c
test: Add pcm-multi-thread program

A simple multi-thread stress test for PCM is added to test
subdirectory.  It can perform various PCM update function in the
worker threads while reading/writing the data in the main thread.
It can help catching the unexpected error or blockage.  For example,
running the capture test with a softvol plugin will lead to the assert
due to the races.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
test/Makefile.am
test/pcm-multi-thread.c [new file with mode: 0644]