]> git.ipfire.org Git - thirdparty/glibc.git/commit
nptl: Add new test for pthread_spin_trylock
authorSergey Kolosov <skolosov@redhat.com>
Wed, 6 Nov 2024 14:24:06 +0000 (15:24 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 29 Nov 2024 14:55:20 +0000 (15:55 +0100)
commitbde47662b74b883149c3001e2c052dea5d3cd92f
treef763e8538ef72f256cd38fdc9143b9b2970f13fb
parente2436d6f5aa47ce8da80c2ba0f59dfb9ffde08f3
nptl: Add new test for pthread_spin_trylock

Add a threaded test for pthread_spin_trylock attempting to lock already
acquired spin lock and checking for correct return code.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
sysdeps/pthread/Makefile
sysdeps/pthread/tst-spin5.c [new file with mode: 0644]