OSDN Git Service

tests/tcg/multiarch: Add munmap-pthread.c
authorIlya Leoshkevich <iii@linux.ibm.com>
Fri, 28 Oct 2022 12:42:27 +0000 (14:42 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 31 Oct 2022 21:31:41 +0000 (08:31 +1100)
commit83d92559cdf0ce842e52e5bbf230f7f62a6206aa
tree18b8b1eae355dcee5b0986b4519a80317975deab
parent4e4fa6c12d97ee3ee87623c153009a5abd7b428e
tests/tcg/multiarch: Add munmap-pthread.c

Add a test to detect races between munmap() and creating new threads.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20221028124227.2354792-3-iii@linux.ibm.com>
[rth: add more return insns]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tests/tcg/multiarch/Makefile.target
tests/tcg/multiarch/munmap-pthread.c [new file with mode: 0644]