FreeBSD: Add a new testcase for FreeBSD 14 _umtx_op set timeout
[valgrind.git] / none / tests / freebsd / umtx_op_timeout.vgtest
blobe5654d99a4601728a3b89bc68ec3184af620d129
1 prog: ../../../drd/tests/trylock
2 # FreeBSD versions earlier than 14.0 - this has no effect
3 # On 14.0 and later it causes thread init to make a _umtx_op syscall
4 # with UMTX_OP_SET_MIN_TIMEOUT which affacts pthread APIs with timeouts
5 env: LIBPTHREAD_UMTX_MIN_TIMEOUT=100
6 vgopts: -q