]> git.ipfire.org Git - thirdparty/glibc.git/commit
Add threaded test of sem_trywait
authorJoseph Myers <josmyers@redhat.com>
Fri, 29 Nov 2024 20:25:04 +0000 (20:25 +0000)
committerJoseph Myers <josmyers@redhat.com>
Fri, 29 Nov 2024 20:25:04 +0000 (20:25 +0000)
commit3c2b9dc41cd05da055fae6f793a355063156bdf3
tree089172ce2d2bfb6acd6782487b201cd0235f6f53
parent6ae9836ed24e4dc625b452a1472f1c150f3058cf
Add threaded test of sem_trywait

All the existing glibc tests of sem_trywait are single-threaded.  Add
one that calls sem_trywait and sem_post in separate threads.

Tested for x86_64.
sysdeps/pthread/Makefile
sysdeps/pthread/tst-sem19.c [new file with mode: 0644]