This adds a simple signal test that combines the POSIX timer_create
with signal delivery across multiple threads. The aim is to provide a
bit more of a stress test to flush out signal handling issues for
easily than the occasional random crash we sometimes see in linux-test
or threadcount.
[AJB: this is still triggering intermittent failures in some guests so
will probably be kept out of PRs until that is fixed.]
Signed-off-by: Alex Bennée<alex.bennee@linaro.org>
Message-Id:<20210504100223.25427-29-alex.bennee@linaro.org>
---
tests/tcg/multiarch/signals.c | 149 ++++++++++++++++++++++++++++
tests/tcg/multiarch/Makefile.target | 2 +
2 files changed, 151 insertions(+)
create mode 100644 tests/tcg/multiarch/signals.c